net.sf.statcvs.input
public class CvsFileBlockParser extends Object
LookaheadReader
. A Builder
must be
specified which constructs some representation of that file. The lookahead
reader must be positioned on the first line of the file's section in the
log ("RCS file: ...").Constructor and Description |
---|
CvsFileBlockParser(LookaheadReader logReader,
CvsLogBuilder builder,
boolean isFirstFile)
Default Constructor CvsFileBlockParser.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isLogWithoutSymbolicNames()
Returns true if the log was generated
with the "-N" switch of "cvs log"
|
void |
parse()
Parses one file from the input reader.
|
public CvsFileBlockParser(LookaheadReader logReader, CvsLogBuilder builder, boolean isFirstFile)
logReader
- readerbuilder
- a Builder for the creation processisFirstFile
- Is this the first file of the log?public void parse() throws LogSyntaxException, IOException
LogSyntaxException
- on syntax errorIOException
- on read/write errorpublic boolean isLogWithoutSymbolicNames()