org.netbeans.lib.cvsclient.command.annotate
Class AnnotateInformation

java.lang.Object
  extended by org.netbeans.lib.cvsclient.command.FileInfoContainer
      extended by org.netbeans.lib.cvsclient.command.annotate.AnnotateInformation

public class AnnotateInformation
extends FileInfoContainer

Describes annotate information for a file. This is the result of doing a cvs annotate command. The fields in instances of this object are populated by response handlers.


Constructor Summary
AnnotateInformation()
           
AnnotateInformation(java.io.File tempDir)
           
 
Method Summary
 void addLine(AnnotateLine line)
           
protected  void addToTempFile(java.lang.String line)
          Adds the specified line to the temporary file.
protected  void closeTempFile()
           
 AnnotateLine createAnnotateLine()
           
 java.io.File getFile()
          Getter for property file.
 AnnotateLine getFirstLine()
           
 AnnotateLine getNextLine()
           
 java.io.File getTempFile()
           
 void setFile(java.io.File file)
          Setter for property file.
 java.lang.String toString()
          Return a string representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnnotateInformation

public AnnotateInformation()

AnnotateInformation

public AnnotateInformation(java.io.File tempDir)
Method Detail

getFile

public java.io.File getFile()
Getter for property file.

Specified by:
getFile in class FileInfoContainer
Returns:
Value of property file.

setFile

public void setFile(java.io.File file)
Setter for property file.

Parameters:
file - New value of property file.

toString

public java.lang.String toString()
Return a string representation of this object. Useful for debugging.

Overrides:
toString in class java.lang.Object

createAnnotateLine

public AnnotateLine createAnnotateLine()

addLine

public void addLine(AnnotateLine line)

getFirstLine

public AnnotateLine getFirstLine()

getNextLine

public AnnotateLine getNextLine()

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 October 26 2010.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.