|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.ultrametrics.rcs.ControlInformation | +--net.ultrametrics.rcs.LogEntry
Encapsulation of a single log entry for an RCS controlled object.
Field Summary | |
static java.lang.String |
_rcsId
|
protected static java.lang.String |
AUTHOR
|
protected static java.lang.String |
BRANCHES
|
protected static java.lang.String |
DATE
|
protected static java.lang.String |
NEXT
|
protected static java.lang.String |
STATE
|
protected static java.lang.String |
VERSION
|
Fields inherited from class net.ultrametrics.rcs.ControlInformation |
_rcsId,
DELIMITER,
EXT_RCS,
map,
reader |
Constructor Summary | |
LogEntry(java.io.BufferedReader reader)
Create a log entry. |
Method Summary | |
int |
compareTo(java.lang.Object o)
|
void |
dump()
Similar to toString(), but more verbose and dumps directly to stderr. |
protected java.util.Collection |
getAllowedKeys()
|
java.lang.String |
getAuthor()
Retrieve the author of the revision. |
java.util.Collection |
getBranches()
Retrieve the version numbers of branches of this version's node. |
java.util.Date |
getDate()
Retrieve the date this log entry was made. |
java.lang.String |
getNextVersion()
Retrieve the version number of the next version. |
java.lang.String |
getState()
Retrieve the state. |
java.lang.String |
getVersion()
Retrieve the version number associated with this log entry. |
protected boolean |
isKeyAllowed(java.lang.String key)
|
static void |
main(java.lang.String[] args)
Tester. |
boolean |
parse()
Parse a log entry block. |
java.lang.String |
toString()
|
Methods inherited from class net.ultrametrics.rcs.ControlInformation |
clear,
containsKey,
getElement,
getFirstElement,
makeKeyCollection,
parseNextElement |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
protected static final java.lang.String VERSION
protected static final java.lang.String DATE
protected static final java.lang.String STATE
protected static final java.lang.String NEXT
protected static final java.lang.String AUTHOR
protected static final java.lang.String BRANCHES
public static final java.lang.String _rcsId
Constructor Detail |
public LogEntry(java.io.BufferedReader reader)
reader
- the buffered reader from which the log entry will be
subsequently parsed.Method Detail |
public java.lang.String getVersion()
public java.lang.String getAuthor()
public java.util.Date getDate()
RCS dates are stored in and use GMT as a base. Note: Most RCS/CVS clients always display times in GMT. Converting this Date to a string might display the date adjusted for your locale.
public java.lang.String getState()
public java.lang.String getNextVersion()
public java.util.Collection getBranches()
public boolean parse() throws ParserException
ControlInformation.parse()
public int compareTo(java.lang.Object o)
protected boolean isKeyAllowed(java.lang.String key)
protected java.util.Collection getAllowedKeys()
public void dump()
public java.lang.String toString()
public static void main(java.lang.String[] args) throws ParserException, java.io.FileNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |