|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.perforcelib.PerforceChangeLogParser
A class to parse the log output from the Perforce 'filelog' command.
Constructor Summary | |
PerforceChangeLogParser()
Default constructor. |
Method Summary | |
void |
cleanup()
Clean up any parser resources. |
void |
init(ChangeLog changeLog)
Initialize the parser from the change log. |
Collection |
parse(InputStream anInputStream)
Parse the input stream into a collection of entries |
void |
setDateFormatInFile(String dateFormat)
Set the date formatter for parse starteam stream |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PerforceChangeLogParser()
Method Detail |
public void init(ChangeLog changeLog)
init
in interface ChangeLogParser
changeLog
- The controlling taskChangeLogParser.init(ChangeLog)
public void cleanup()
cleanup
in interface ChangeLogParser
ChangeLogParser.cleanup()
public Collection parse(InputStream anInputStream) throws IOException
parse
in interface ChangeLogParser
anInputStream
- An input stream containing perforce log output
IOException
- When there are errors reading the provided streampublic void setDateFormatInFile(String dateFormat)
ChangeLogParser
setDateFormatInFile
in interface ChangeLogParser
dateFormat
- a dateFormat for replace the local format
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |