FileDocCategorySizeDatePackage
RCSFile.javaAPI DocApache Ant 1.701913Wed Dec 13 06:16:20 GMT 2006org.apache.tools.ant.taskdefs.cvslib

RCSFile

public class RCSFile extends Object
Represents a RCS File change.

Fields Summary
private String
name
private String
revision
private String
previousRevision
Constructors Summary
RCSFile(String name, String rev)

        this(name, rev, null);
    
RCSFile(String name, String revision, String previousRevision)

        this.name = name;
        this.revision = revision;
        if (!revision.equals(previousRevision)) {
            this.previousRevision = previousRevision;
        }
    
Methods Summary
java.lang.StringgetName()
Gets the name of the RCSFile

return
name of the file

        return name;
    
java.lang.StringgetPreviousRevision()
Gets the previous revision of the RCSFile

return
the previous revision number (as String)

        return previousRevision;
    
java.lang.StringgetRevision()
Gets the revision number of the RCSFile

return
the revision number (as String)

        return revision;