org.netbeans.lib.cvsclient.command
Class PipedFileInformation

java.lang.Object
  extended byorg.netbeans.lib.cvsclient.command.FileInfoContainer
      extended byorg.netbeans.lib.cvsclient.command.PipedFileInformation

public class PipedFileInformation
extends FileInfoContainer


Constructor Summary
PipedFileInformation(java.io.File tempFile)
           
 
Method Summary
protected  void addToTempFile(java.lang.String line)
          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

PipedFileInformation

public PipedFileInformation(java.io.File tempFile)
Method Detail

getFile

public java.io.File getFile()
Returns the original file.

Specified by:
getFile in class FileInfoContainer

setFile

protected void setFile(java.io.File file)
Sets the original file.


getRepositoryRevision

public java.lang.String getRepositoryRevision()
Returns the revision of the incoming file.


setRepositoryRevision

protected void setRepositoryRevision(java.lang.String repositoryRevision)
Sets the revision of the incoming file.


getRepositoryFileName

public java.lang.String getRepositoryFileName()
Returns the filename in the repository.


setRepositoryFileName

protected void setRepositoryFileName(java.lang.String repositoryFileName)
Sets the repository filename.


addToTempFile

protected void addToTempFile(java.lang.String line)
                      throws java.io.IOException
Adds the specified line to the temporary file.

Throws:
java.io.IOException

closeTempFile

protected void closeTempFile()
                      throws java.io.IOException
Throws:
java.io.IOException

getTempFile

public java.io.File getTempFile()


Built on February 19 2008.  |  Portions Copyright 1997-2003 Sun Microsystems, Inc. All rights reserved.