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 FileInfoContainerprotected 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
IOExceptionpublic void addToTempFile(byte[] bytes,
int len)
throws IOException
IOExceptionprotected void closeTempFile()
throws IOException
IOExceptionpublic File getTempFile()
Copyright © 2013. All rights reserved.