public abstract class RegexpLineParser extends RegexpParser
ANT_TASK| Modifier | Constructor and Description |
|---|---|
protected |
RegexpLineParser(String warningPattern)
Creates a new instance of
RegexpLineParser. |
| Modifier and Type | Method and Description |
|---|---|
protected IssueBuilder |
configureIssueBuilder(IssueBuilder builder)
Optionally configures the issue builder instance.
|
protected int |
getCurrentLine()
Returns the number of the current line in the parsed file.
|
Report |
parse(ReaderFactory reader)
Parses the specified file for issues.
|
protected Report |
postProcess(Report report)
Post processes the issues.
|
createIssue, findIssuesaccepts, isXmlFileprotected RegexpLineParser(String warningPattern)
RegexpLineParser.warningPattern - pattern of compiler warnings.public Report parse(ReaderFactory reader) throws ParsingException
IssueParserparse in class IssueParserreader - provides a reader to the reportsParsingException - Signals that during parsing a non recoverable error has been occurredprotected IssueBuilder configureIssueBuilder(IssueBuilder builder)
RegexpParserconfigureIssueBuilder in class RegexpParserbuilder - the build to configureprotected Report postProcess(Report report)
report - the issues after the parsing processprotected int getCurrentLine()
Copyright © 2018. All rights reserved.