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.

Author:
Milos Kleint

Constructor Summary
AnnotateInformation()
           
AnnotateInformation(File tempDir)
           
 
Method Summary
 void addLine(AnnotateLine line)
           
protected  void addToTempFile(String line)
          Adds the specified line to the temporary file.
protected  void closeTempFile()
           
 AnnotateLine createAnnotateLine()
           
 File getFile()
          Getter for property file.
 AnnotateLine getFirstLine()
           
 AnnotateLine getNextLine()
           
 File getTempFile()
           
 void setFile(File file)
          Setter for property file.
 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(File tempDir)
Method Detail

getFile

public File getFile()
Getter for property file.

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

setFile

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

Parameters:
file - New value of property file.

toString

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

Overrides:
toString in class Object

createAnnotateLine

public AnnotateLine createAnnotateLine()

addLine

public void addLine(AnnotateLine line)

getFirstLine

public AnnotateLine getFirstLine()

getNextLine

public AnnotateLine getNextLine()

addToTempFile

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

Throws:
IOException

closeTempFile

protected void closeTempFile()
                      throws IOException
Throws:
IOException

getTempFile

public File getTempFile()


Copyright © 2011. All Rights Reserved.