org.acmsl.antmake
Class RcsFile

java.lang.Object
  |
  +--org.acmsl.antmake.RcsFile

public class RcsFile
extends java.lang.Object

Models RCS files.

Version:
$Revision: 1.8 $
Author:
Jose San Leandro, based on Peter Donald and Jeff Martin's RCSFile. It's package-protected, so it had to be basically copied and pasted.
See Also:
org.apache.tools.ant.taskdefs.cvslib.RCSFile

Constructor Summary
RcsFile(java.lang.String name, java.lang.String revision)
          Creates a RcsFile with given information.
RcsFile(java.lang.String name, java.lang.String revision, java.lang.String previousRevision)
          Creates a RcsFile with given information.
 
Method Summary
 java.lang.String getName()
          Retrieves the name.
 java.lang.String getPreviousRevision()
          Retrieves the previous revision.
 java.lang.String getRevision()
          Retrieves the revision.
protected  void setName(java.lang.String name)
          Specifies the name.
protected  void setPreviousRevision(java.lang.String previousRevision)
          Specifies the previous revision.
protected  void setRevision(java.lang.String revision)
          Specifies the revision.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RcsFile

public RcsFile(java.lang.String name,
               java.lang.String revision)
Creates a RcsFile with given information.

Parameters:
name - the name.
revision - the revision.

RcsFile

public RcsFile(java.lang.String name,
               java.lang.String revision,
               java.lang.String previousRevision)
Creates a RcsFile with given information.

Parameters:
name - the name.
revision - the revision.
previousRevision - the previous revision.
Method Detail

setName

protected void setName(java.lang.String name)
Specifies the name.

Parameters:
name - the name.

getName

public java.lang.String getName()
Retrieves the name.

Returns:
such information.

setRevision

protected void setRevision(java.lang.String revision)
Specifies the revision.

Parameters:
revision - the revision.

getRevision

public java.lang.String getRevision()
Retrieves the revision.

Returns:
such information.

setPreviousRevision

protected void setPreviousRevision(java.lang.String previousRevision)
Specifies the previous revision.

Parameters:
previousRevision - the previous revision.

getPreviousRevision

public java.lang.String getPreviousRevision()
Retrieves the previous revision.

Returns:
such information.


Copyright © 2004 ACM S.L.. All Rights Reserved.