|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.ultrametrics.rcs.RcsObject
A single RCS object encapsulating its attributes and all revisions.
Header (Elements - head, access, symbols, locks, comment, policy)
/
RcsObject LogEntry - (Elements - version, date,
\ / state, next, author.. )
History - n x Revision(s)
\
Modification - (Elements - version,
log, text)
Constructor Summary | |
RcsObject(java.lang.String fileName)
Create and populate. |
Method Summary | |
int |
compareTo(java.lang.Object o)
|
void |
dump()
Similar to toString(), but more verbose and dumps directly to stderr. |
boolean |
dump(java.lang.String version)
|
boolean |
equals(java.lang.Object o)
|
Revision |
getFirstRevision()
Retrieve the version number of the initial revision. |
Header |
getHeader()
Retrieve this RCS object's Header. |
Revision |
getHeadRevision()
Retrieve the version number of the head revision. |
java.lang.String |
getName()
Retrieve the name of the file which store's this RCS object's data. |
Revision |
getRevision(java.lang.String version)
Retrieve a specific revision. |
java.util.Collection |
getRevisions()
Retrieve the revisions to this RCS object. |
int |
hashCode()
|
java.lang.String |
toString()
|
java.lang.String |
toSummaryString()
Similar to toString(), but a more concise, single-line description. |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public RcsObject(java.lang.String fileName) throws java.io.FileNotFoundException, ParserException
fileName
- the name of the RCS file.Method Detail |
public java.lang.String getName()
public Header getHeader()
public Revision getFirstRevision()
public Revision getHeadRevision()
public Revision getRevision(java.lang.String version)
version
- the RCS version number.public java.util.Collection getRevisions()
public int compareTo(java.lang.Object o)
public boolean equals(java.lang.Object o)
public int hashCode()
public java.lang.String toSummaryString()
public java.lang.String toString()
public void dump()
public boolean dump(java.lang.String version)
the
- RCS version of the history block to dump.dump()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |