|
|||||||||
| 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@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 java.io.StreamTokenizer |
st
the tokenizer object. |
| Constructor Summary | |
|---|---|
CvsLogParser(java.lang.String file)
|
|
| Method Summary | |
|---|---|
private boolean |
hasChanged()
Indicates if the current token is one that contains changes. |
boolean |
hasMoreElements()
|
static void |
main(java.lang.String[] args)
Parses a log form CVS. |
java.lang.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 java.io.StreamTokenizer st
protected boolean changes
protected boolean more
| Constructor Detail |
|---|
public CvsLogParser(java.lang.String file)
throws java.io.FileNotFoundException
file -
java.io.FileNotFoundException| Method Detail |
|---|
public boolean hasMoreElements()
hasMoreElements in interface java.util.EnumerationEnumeration.hasMoreElements()public java.lang.Object nextElement()
nextElement in interface java.util.EnumerationEnumeration.nextElement()private boolean hasChanged()
public static void main(java.lang.String[] args)
args - the path to the logfile
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||