|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lowagie.tools.CvsLogParser
public class CvsLogParser
If you get a changelog from CVS, for instance: cvs -d:ext:blowagie@itext.cvs.sourceforge.net:/cvsroot/itext log -d ">2005-07-29" you get an overview that contains all the changes. With this class, you can parse out the important entries.
Field Summary | |
---|---|
protected boolean |
changes
indicates if the current token contains changes. |
protected boolean |
more
indicates if the tokenizer has more tokens. |
protected StreamTokenizer |
st
the tokenizer object. |
Constructor Summary | |
---|---|
CvsLogParser(String file)
|
Method Summary | |
---|---|
boolean |
hasMoreElements()
|
static void |
main(String[] args)
Parses a log form CVS. |
Object |
nextElement()
Returns the next token in the log file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected StreamTokenizer st
protected boolean changes
protected boolean more
Constructor Detail |
---|
public CvsLogParser(String file) throws FileNotFoundException
file
-
FileNotFoundException
Method Detail |
---|
public boolean hasMoreElements()
hasMoreElements
in interface Enumeration
Enumeration.hasMoreElements()
public Object nextElement()
nextElement
in interface Enumeration
Enumeration.nextElement()
public static void main(String[] args)
args
- the path to the logfile
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |