public class FindBugsParser extends IssueParser
| Modifier and Type | Class and Description |
|---|---|
static class |
FindBugsParser.PriorityProperty
FindBugs 2 and 3 classifies issues using the bug rank and priority (now renamed confidence).
|
static class |
FindBugsParser.XmlBugInstance
Java Bean to create the mapping of hash codes to messages using the Digester
XML parser.
|
| Constructor and Description |
|---|
FindBugsParser(FindBugsParser.PriorityProperty priorityProperty)
Creates a new instance of
FindBugsParser. |
| Modifier and Type | Method and Description |
|---|---|
Report |
parse(Path file,
Charset charset,
Function<String,String> preProcessor)
Parses the specified file for issues.
|
accepts, isXmlFile, parsepublic FindBugsParser(FindBugsParser.PriorityProperty priorityProperty)
FindBugsParser.priorityProperty - determines whether to use the rank or confidence when evaluation the Severitypublic Report parse(Path file, Charset charset, Function<String,String> preProcessor) throws ParsingCanceledException, ParsingException
IssueParserparse in class IssueParserfile - the file to parsecharset - the encoding to use when reading filespreProcessor - 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.