public class EclipseXMLParser extends AbstractParser
DEPRECATION, PROPRIETARY_API| Constructor and Description |
|---|
EclipseXMLParser() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(Path file,
Charset charset)
Returns whether this parser accepts the specified file as valid input.
|
Report |
parse(Reader reader,
Function<String,String> preProcessor)
Parses the specified input stream for issues.
|
getFileName, guessCategory, guessCategoryIfEmpty, parse, parse, parseIntisXmlFile, parsepublic boolean accepts(Path file, Charset charset)
IssueParseraccepts in class IssueParserfile - the file to parsecharset - the encoding to use when reading filestrue if this parser accepts this file as valid input, or false if the file could not be
parsed by this parserpublic 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.