|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.statcvs.input.CvsFileBlockParser
Takes a CVS logfile and reads the block of one file from it.
Constructor Summary | |
CvsFileBlockParser(java.io.LineNumberReader logReader,
RepositoryFileManager repositoryFileManager)
Default Constructor CvsFileBlockParser. |
Method Summary | |
CvsFile |
getParsedFile()
Returns a CvsFile from the parsed input, or null if the
CVS file does not qualify for inclusion in our analysis (for example,
if it has no revisions on the current branch). |
boolean |
isDone()
Returns true if the parser encountered an EOF at the end
of the current file block while doing getParsedFile() . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CvsFileBlockParser(java.io.LineNumberReader logReader, RepositoryFileManager repositoryFileManager)
logReader
- readerrepositoryFileManager
- file managerMethod Detail |
public CvsFile getParsedFile() throws LogSyntaxException, java.io.IOException
null
if the
CVS file does not qualify for inclusion in our analysis (for example,
if it has no revisions on the current branch).
LogSyntaxException
- on syntax error
java.io.IOException
- on read/write errorpublic boolean isDone()
true
if the parser encountered an EOF at the end
of the current file block while doing getParsedFile()
.
true
if the parser encountered an EOF
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |