public class LinuxKernelOutputParser extends RegexpParser
ANT_TASK, FALSE_POSITIVEDEPRECATION, PROPRIETARY_API| Constructor and Description |
|---|
LinuxKernelOutputParser()
Creates a new parser.
|
| Modifier and Type | Method and Description |
|---|---|
protected Issue |
createIssue(Matcher matcher,
IssueBuilder builder)
Creates a new issue for the specified pattern.
|
Report |
parse(Reader file,
Function<String,String> preProcessor)
Parses the specified input stream for issues.
|
findIssuesgetFileName, guessCategory, guessCategoryIfEmpty, parse, parse, parseIntaccepts, isXmlFile, parsepublic Report parse(Reader file, Function<String,String> preProcessor) throws ParsingException, ParsingCanceledException
AbstractParserparse in class AbstractParserfile - the reader to get the text frompreProcessor - pre processes each input line before handing it to the actual parserParsingException - Signals that during parsing a non recoverable error has been occurredParsingCanceledException - Signals that the parsing has been aborted by the userprotected Issue createIssue(Matcher matcher, IssueBuilder builder)
RegexpParserRegexpParser.FALSE_POSITIVE to ignore this
warning.createIssue in class RegexpParsermatcher - the regular expression matcherbuilder - the issue builder to useCopyright © 2018. All rights reserved.