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

pack-priv Class RCSFile

extends Object
Class Inheritance

Represents a RCS File change.

Field Summary

Modifier and TypeField and Description
private String
private String
private String

Constructor Summary

AccessConstructor and Description
pack-priv
RCSFile(final String name, final String revision)

pack-priv
RCSFile(final String name, final String revision, final String previousRevision)

Method Summary

Modifier and TypeMethod and Description
pack-priv String

Returns:

name of the file
getName
()

Gets the name of the RCSFile

pack-priv String

Returns:

the previous revision number (as String)
getPreviousRevision
()

Gets the previous revision of the RCSFile

pack-priv String

Returns:

the revision number (as String)
getRevision
()

Gets the revision number of the RCSFile

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

nameback to summary
private String name
previousRevisionback to summary
private String previousRevision
revisionback to summary
private String revision

Constructor Detail

RCSFileback to summary
pack-priv RCSFile(final String name, final String revision)
RCSFileback to summary
pack-priv RCSFile(final String name, final String revision, final String previousRevision)

Method Detail

getNameback to summary
pack-priv String getName()

Gets the name of the RCSFile

Returns:String

name of the file

getPreviousRevisionback to summary
pack-priv String getPreviousRevision()

Gets the previous revision of the RCSFile

Returns:String

the previous revision number (as String)

getRevisionback to summary
pack-priv String getRevision()

Gets the revision number of the RCSFile

Returns:String

the revision number (as String)