com.lowagie.tools
Class CvsLogParser

java.lang.Object
  extended by com.lowagie.tools.CvsLogParser
All Implemented Interfaces:
Enumeration

public class CvsLogParser
extends Object
implements Enumeration

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.

Author:
blowagie

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

st

protected StreamTokenizer st
the tokenizer object.


changes

protected boolean changes
indicates if the current token contains changes.


more

protected boolean more
indicates if the tokenizer has more tokens.

Constructor Detail

CvsLogParser

public CvsLogParser(String file)
             throws FileNotFoundException
Parameters:
file -
Throws:
FileNotFoundException
Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface Enumeration
See Also:
Enumeration.hasMoreElements()

nextElement

public Object nextElement()
Returns the next token in the log file.

Specified by:
nextElement in interface Enumeration
See Also:
Enumeration.nextElement()

main

public static void main(String[] args)
Parses a log form CVS.

Parameters:
args - the path to the logfile


Copyright © 2006-2007 EGIZ - E-Government Innovationszentrum. All Rights Reserved.