public abstract class RegexpDocumentParser extends RegexpParser
ANT_TASK, FALSE_POSITIVEDEPRECATION, PROPRIETARY_API| Modifier | Constructor and Description |
|---|---|
protected |
RegexpDocumentParser(String pattern,
boolean useMultiLine)
Creates a new instance of
RegexpDocumentParser. |
| Modifier and Type | Method and Description |
|---|---|
Report |
parse(Reader reader,
Function<String,String> preProcessor)
Parses the specified input stream for issues.
|
createIssue, findIssuesgetFileName, guessCategory, guessCategoryIfEmpty, parse, parse, parseIntparseprotected RegexpDocumentParser(String pattern, boolean useMultiLine)
RegexpDocumentParser.pattern - pattern of compiler warningsuseMultiLine - Enables multi line mode. In multi line mode the expressions ^ and $ match just after or
just before, respectively, a line terminator or the end of the input sequence. By default these
expressions only match at the beginning and the end of thepublic Report parse(Reader reader, Function<String,String> preProcessor) throws ParsingCanceledException, ParsingException
AbstractParserparse in class AbstractParserreader - the reader to get the text frompreProcessor - pre processes each input line before handing it to the actual parserParsingCanceledException - Signals that the parsing has been aborted by the userParsingException - Signals that during parsing a non recoverable error has been occurredCopyright © 2018. All rights reserved.