public abstract class FastRegexpLineParser extends RegexpLineParser
isLineInteresting(String).ANT_TASK| Modifier | Constructor and Description |
|---|---|
protected |
FastRegexpLineParser(String warningPattern)
Creates a new instance of
FastRegexpLineParser. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
findIssues(String content,
Report report)
Parses the specified string
content using a regular expression and creates a set of new issues for each
match. |
protected abstract boolean |
isLineInteresting(String line)
Returns whether the specified line is interesting.
|
configureIssueBuilder, getCurrentLine, parse, postProcesscreateIssueaccepts, isXmlFileprotected FastRegexpLineParser(String warningPattern)
FastRegexpLineParser.warningPattern - pattern of compiler warnings.protected void findIssues(String content, Report report) throws ParsingCanceledException
RegexpParsercontent using a regular expression and creates a set of new issues for each
match. The new issues are added to the provided set of Report.findIssues in class RegexpParsercontent - the content to scanreport - the report to add the new issues toParsingCanceledException - Signals that the parsing has been aborted by the userprotected abstract boolean isLineInteresting(String line)
line - the line to inspecttrue if the line should be handed over to the regular expression scanner, false if the
line does not contain a warning.Copyright © 2018. All rights reserved.