public class CvsLogParser
extends java.lang.Object
implements java.util.Enumeration
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
CvsLogParser(java.lang.String file) |
Modifier and Type | Method and Description |
---|---|
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.
|
protected java.io.StreamTokenizer st
protected boolean changes
protected boolean more
public CvsLogParser(java.lang.String file) throws java.io.FileNotFoundException
file
- java.io.FileNotFoundException
public boolean hasMoreElements()
hasMoreElements
in interface java.util.Enumeration
Enumeration.hasMoreElements()
public java.lang.Object nextElement()
nextElement
in interface java.util.Enumeration
Enumeration.nextElement()
private boolean hasChanged()
public static void main(java.lang.String[] args)
args
- the path to the logfile