pogo.gene
Class RcsId
java.lang.Object
|
+--pogo.gene.RcsId
- public class RcsId
- extends java.lang.Object
This class manage a RCS String to extracet name, revision, date, author....
- Version:
- $Revision: 1.22 $
- Author:
- $Author: verdier $
Constructor Summary |
RcsId(java.lang.String str)
Constructor. |
Method Summary |
java.lang.String |
getAuthor()
Get the program author. |
java.lang.String |
getDate()
Get the program date. |
java.lang.String |
getName()
Get the program name. |
java.lang.String |
getRevision()
Get the program revision. |
java.lang.String |
toString()
Build a java.lang.String from rcs string. |
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
rcs
private java.lang.String rcs
HEADER
private final int HEADER
NAME
private final int NAME
REVISION
private final int REVISION
DATE
private final int DATE
TIME
private final int TIME
AUTHOR
private final int AUTHOR
RcsId
public RcsId(java.lang.String str)
- Constructor.
- Parameters:
str
- A String updated by RCS unix utility.
This String needs the rcs format as:
"$Header: /segfs/tango/tools/pogo/gene/RCS/RcsId.java,v 1.22 2000/10/02 05:52:20 verdier Exp verdier $"
getName
public java.lang.String getName()
- Get the program name.
- Returns:
- the file's name.
getRevision
public java.lang.String getRevision()
- Get the program revision.
- Returns:
- the file's revision.
getDate
public java.lang.String getDate()
- Get the program date.
- Returns:
- the file's date.
getAuthor
public java.lang.String getAuthor()
- Get the program author.
- Returns:
- the file's author.
toString
public java.lang.String toString()
- Build a java.lang.String from rcs string.
- Overrides:
- toString in class java.lang.Object
- Returns:
- A String containing the file's name, revision, author and date.