public class JcReportParser extends AbstractParser
DEPRECATION, PROPRIETARY_API| Constructor and Description |
|---|
JcReportParser() |
| Modifier and Type | Method and Description |
|---|---|
Report |
createReport(Reader source)
Creates a Report-Object out of the content within the JcReport.xml.
|
Report |
parse(Reader reader,
Function<String,String> preProcessor)
Parses the specified input stream for issues.
|
getFileName, guessCategory, guessCategoryIfEmpty, parse, parse, parseIntaccepts, isXmlFile, parsepublic Report parse(Reader reader, Function<String,String> preProcessor) throws ParsingCanceledException
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 userpublic Report createReport(Reader source) throws ParsingException
source - the Reader-object that is the source to build the Report-Object.ParsingException - due to digester.parse(new InputSource(source))Copyright © 2018. All rights reserved.