Top Description Fields Constructors Methods
org.apache.tools.ant.taskdefs.cvslib

public Class CvsTagEntry

extends Object
Class Inheritance

Holds the information of a line of rdiff

Field Summary

Modifier and TypeField and Description
private String
filename

the filename

private String
prevRevision

the previous revision

private String
revision

the revision

Constructor Summary

AccessConstructor and Description
public
CvsTagEntry(final String
the filename to add
filename
)

Creates a new CvsTagEntry

public
CvsTagEntry(final String
the filename to add
filename
,
final String
the revision
revision
)

Creates a new CvsTagEntry

public
CvsTagEntry(final String
the filename to add
filename
,
final String
the revision
revision
,
final String
the previous revision
prevRevision
)

Creates a new CvsTagEntry

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the filename
getFile
()

Gets the filename for this CvsTagEntry

public String

Returns:

the previous revision
getPreviousRevision
()

Gets the previous revision for this CvsTagEntry

public String

Returns:

the revision
getRevision
()

Gets the revision for this CvsTagEntry

public String

Returns:

a string representation of this CVSTagEntry
toString
()

Overrides java.lang.Object.toString.

Gets a String containing filename and difference from previous version
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

filenameback to summary
private String filename

the filename

prevRevisionback to summary
private String prevRevision

the previous revision

revisionback to summary
private String revision

the revision

Constructor Detail

CvsTagEntryback to summary
public CvsTagEntry(final String filename)

Creates a new CvsTagEntry

Parameters
filename:String

the filename to add

CvsTagEntryback to summary
public CvsTagEntry(final String filename, final String revision)

Creates a new CvsTagEntry

Parameters
filename:String

the filename to add

revision:String

the revision

CvsTagEntryback to summary
public CvsTagEntry(final String filename, final String revision, final String prevRevision)

Creates a new CvsTagEntry

Parameters
filename:String

the filename to add

revision:String

the revision

prevRevision:String

the previous revision

Method Detail

getFileback to summary
public String getFile()

Gets the filename for this CvsTagEntry

Returns:String

the filename

getPreviousRevisionback to summary
public String getPreviousRevision()

Gets the previous revision for this CvsTagEntry

Returns:String

the previous revision

getRevisionback to summary
public String getRevision()

Gets the revision for this CvsTagEntry

Returns:String

the revision

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Gets a String containing filename and difference from previous version

Returns:String

a string representation of this CVSTagEntry

Annotations
@Override