public abstract class IssueParser extends Object implements Serializable
| Constructor and Description |
|---|
IssueParser() |
| Modifier and Type | Method and Description |
|---|---|
Report |
parse(File file,
Charset charset)
Parses the specified file for issues.
|
abstract Report |
parse(File file,
Charset charset,
Function<String,String> preProcessor)
Parses the specified file for issues.
|
public abstract Report parse(File file, Charset charset, Function<String,String> preProcessor) throws ParsingException, ParsingCanceledException
file - the file to parsecharset - the encoding to use when reading filespreProcessor - 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 userpublic Report parse(File file, Charset charset) throws ParsingException, ParsingCanceledException
file - the file to parsecharset - the encoding to use when reading filesParsingException - Signals that during parsing a non recoverable error has been occurredParsingCanceledException - Signals that the parsing has been aborted by the userCopyright © 2018. All rights reserved.