|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Instance of ChangeLogParser
are intended to parse an InputStream
created by a ChangeLogGenerator
into individual
ChangeLogEntry
objects.
Method Summary | |
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 . |
void |
setDateFormatInFile(String dateFormat)
Set the date formatter for parse starteam stream |
Method Detail |
public void init(ChangeLog changeLog)
ChangeLog
instance. Any configuration required for the parser should
be obtained from the changeLog
. This method is guaranteed
to be called before parse(java.io.InputStream)
.
changeLog
- the controlling ChangeLog instancepublic Collection parse(InputStream in) throws IOException
Collection
of ChangeLogEntry objects, parsed
from the InputStream
. This method is guaranteed to be
called after init(org.apache.maven.changelog.ChangeLog)
and before 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.
in
- the input stream to parse
IOException
- if there is an error while parsing the input streampublic void cleanup()
init(org.apache.maven.changelog.ChangeLog)
(and
presumably the parse(java.io.InputStream)
) method.
public void setDateFormatInFile(String dateFormat)
dateFormat
- a dateFormat for replace the local format
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |