public class ChangeLogParserImpl extends Object implements ChangeLogParser, ChangeLogConstants
A ChangeLogParser
implementation.
DETAIL_LINE_PREFIX, DETAIL_START_PREFIX, MAINTAINER_TIMESTAMP_SEPARATOR, TERMINATION_PREFIX, TIMESTAMP_FORMAT
UTF_8, UTF_8_CHARSET
Constructor and Description |
---|
ChangeLogParserImpl()
Creates a parser.
|
Modifier and Type | Method and Description |
---|---|
ChangeLog |
parseChangeLog(DataSource source,
Context context)
Parses the change log from the specified source.
|
ChangeLog |
parseChangeLogHtml(DataSource source,
Context context)
Parses the change log from the specified source as HTML.
|
public ChangeLog parseChangeLog(DataSource source, Context context) throws IOException, ParseException
ChangeLogParser
Parses the change log from the specified source.
parseChangeLog
in interface ChangeLogParser
source
- The source.context
- The context.IOException
- If an I/O error occurs.ParseException
- If an error occurs during the parsing.public ChangeLog parseChangeLogHtml(DataSource source, Context context) throws IOException, ParseException
ChangeLogParser
Parses the change log from the specified source as HTML.
parseChangeLogHtml
in interface ChangeLogParser
source
- The source.context
- The context.IOException
- If an I/O error occurs.ParseException
- If an error occurs during the parsing.Copyright © 2015–2019. All rights reserved.