|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.maven.mkslib.MksChangeLogParser
This class parse mks log output.
| Constructor Summary | |
MksChangeLogParser()
|
|
| Method Summary | |
protected void |
addEntry()
|
void |
cleanup()
Provides the opportunity for the parser to do any required cleanup. |
void |
init(ChangeLog changeLog)
Initialize the ChangeLogParser instance with the controlling ChangeLog instance. |
Collection |
parse(InputStream in)
Returns a Collection of ChangeLogEntry objects, parsed
from the InputStream. |
protected void |
processGetEntryComment(String line)
|
protected void |
processGetEntryInfo(String line)
|
protected void |
processGetFileName(String line)
|
protected void |
processGetFileRevision(String line)
|
protected void |
processWaitForEntryRevision(String line)
|
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 MksChangeLogParser()
| Method Detail |
public void init(ChangeLog changeLog)
ChangeLogParserChangeLog instance. Any configuration required for the parser should
be obtained from the changeLog. This method is guaranteed
to be called before ChangeLogParser.parse(java.io.InputStream).
init in interface ChangeLogParserchangeLog - the controlling ChangeLog instancepublic void cleanup()
ChangeLogParserChangeLogParser.init(org.apache.maven.changelog.ChangeLog) (and
presumably the ChangeLogParser.parse(java.io.InputStream)) method.
cleanup in interface ChangeLogParserpublic void setDateFormatInFile(String dateFormat)
ChangeLogParser
setDateFormatInFile in interface ChangeLogParserdateFormat - a dateFormat for replace the local format
public Collection parse(InputStream in)
throws IOException
ChangeLogParserCollection of ChangeLogEntry objects, parsed
from the InputStream. This method is guaranteed to be
called after ChangeLogParser.init(org.apache.maven.changelog.ChangeLog) and before ChangeLogParser.cleanup(). However, it is
up to a ChangeLogGenerator instance to call this method, so no
guarantee can be made this this method will be called.
parse in interface ChangeLogParserin - the input stream to parse
IOException - if there is an error while parsing the input streamprotected void processGetFileName(String line)
protected void processGetFileRevision(String line)
protected void processWaitForEntryRevision(String line)
protected void processGetEntryInfo(String line)
protected void processGetEntryComment(String line)
protected void addEntry()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||