org.apache.tools.ant.taskdefs.cvslib

Class CvsTagEntry

public class CvsTagEntry extends Object

Holds the information of a line of rdiff
Constructor Summary
CvsTagEntry(String filename)
Creates a new CvsTagEntry
CvsTagEntry(String filename, String revision)
Creates a new CvsTagEntry
CvsTagEntry(String filename, String revision, String prevRevision)
Creates a new CvsTagEntry
Method Summary
StringgetFile()
Gets the filename for this CvsTagEntry
StringgetPreviousRevision()
Gets the previous revision for this CvsTagEntry
StringgetRevision()
Gets the revision for this CvsTagEntry
StringtoString()
Gets a String containing filename and difference from previous version

Constructor Detail

CvsTagEntry

public CvsTagEntry(String filename)
Creates a new CvsTagEntry

Parameters: filename the filename to add

CvsTagEntry

public CvsTagEntry(String filename, String revision)
Creates a new CvsTagEntry

Parameters: filename the filename to add revision the revision

CvsTagEntry

public CvsTagEntry(String filename, String revision, String prevRevision)
Creates a new CvsTagEntry

Parameters: filename the filename to add revision the revision prevRevision the previous revision

Method Detail

getFile

public String getFile()
Gets the filename for this CvsTagEntry

Returns: the filename

getPreviousRevision

public String getPreviousRevision()
Gets the previous revision for this CvsTagEntry

Returns: the previous revision

getRevision

public String getRevision()
Gets the revision for this CvsTagEntry

Returns: the revision

toString

public String toString()
Gets a String containing filename and difference from previous version

Returns: a string representation of this CVSTagEntry