|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.lib.cvsclient.command.FileInfoContainer
org.netbeans.lib.cvsclient.command.PipedFileInformation
public class PipedFileInformation
Contains intercepted infomation from command standard output. Actula data are held in temporary file.
Constructor Summary | |
---|---|
PipedFileInformation(java.io.File tempFile)
|
Method Summary | |
---|---|
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()
|
java.io.File |
getFile()
Returns the original file. |
java.lang.String |
getRepositoryFileName()
Returns the filename in the repository. |
java.lang.String |
getRepositoryRevision()
Returns the revision of the incoming file. |
java.io.File |
getTempFile()
|
protected void |
setFile(java.io.File file)
Sets the original file. |
protected void |
setRepositoryFileName(java.lang.String repositoryFileName)
Sets the repository filename. |
protected void |
setRepositoryRevision(java.lang.String repositoryRevision)
Sets the revision of the incoming file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PipedFileInformation(java.io.File tempFile)
Method Detail |
---|
public java.io.File getFile()
getTempFile()
.
getFile
in class FileInfoContainer
protected void setFile(java.io.File file)
public java.lang.String getRepositoryRevision()
protected void setRepositoryRevision(java.lang.String repositoryRevision)
public java.lang.String getRepositoryFileName()
protected void setRepositoryFileName(java.lang.String repositoryFileName)
protected void addToTempFile(byte[] bytes) throws java.io.IOException
java.io.IOException
public void addToTempFile(byte[] bytes, int len) throws java.io.IOException
java.io.IOException
protected void closeTempFile() throws java.io.IOException
java.io.IOException
public java.io.File getTempFile()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |