public class PipedFileInformation extends FileInfoContainer
Constructor and Description |
---|
PipedFileInformation(File tempFile) |
Modifier and Type | Method and Description |
---|---|
protected void |
addToTempFile(byte[] bytes)
Adds the specified line to the temporary file.
|
void |
addToTempFile(byte[] bytes,
int len)
Adds the specified line to the temporary file.
|
protected void |
closeTempFile() |
File |
getFile()
Returns the original file.
|
String |
getRepositoryFileName()
Returns the filename in the repository.
|
String |
getRepositoryRevision()
Returns the revision of the incoming file.
|
File |
getTempFile() |
protected void |
setFile(File file)
Sets the original file.
|
protected void |
setRepositoryFileName(String repositoryFileName)
Sets the repository filename.
|
protected void |
setRepositoryRevision(String repositoryRevision)
Sets the revision of the incoming file.
|
public PipedFileInformation(File tempFile)
public File getFile()
getTempFile()
.getFile
in class FileInfoContainer
protected void setFile(File file)
public String getRepositoryRevision()
protected void setRepositoryRevision(String repositoryRevision)
public String getRepositoryFileName()
protected void setRepositoryFileName(String repositoryFileName)
protected void addToTempFile(byte[] bytes) throws IOException
IOException
public void addToTempFile(byte[] bytes, int len) throws IOException
IOException
protected void closeTempFile() throws IOException
IOException
public File getTempFile()
Copyright © 2016. All rights reserved.