public class CvsFileBlockParser
extends java.lang.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 | Description |
---|---|
CvsFileBlockParser(LookaheadReader logReader,
CvsLogBuilder builder,
boolean isFirstFile) |
Default Constructor CvsFileBlockParser.
|
Modifier and Type | Method | 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, java.io.IOException
LogSyntaxException
- on syntax errorjava.io.IOException
- on read/write errorpublic boolean isLogWithoutSymbolicNames()