org.apache.tools.ant.taskdefs.cvslib

Class CvsTagEntry


public class CvsTagEntry
extends java.lang.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

String
getFile()
Gets the filename for this CvsTagEntry
String
getPreviousRevision()
Gets the previous revision for this CvsTagEntry
String
getRevision()
Gets the revision for this CvsTagEntry
String
toString()
Gets a String containing filename and difference from previous version

Constructor Details

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 Details

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