Package edu.hm.hafner.analysis.parser
Class CargoCheckParser
- java.lang.Object
-
- edu.hm.hafner.analysis.IssueParser
-
- edu.hm.hafner.analysis.parser.CargoCheckParser
-
- All Implemented Interfaces:
Serializable
public class CargoCheckParser extends IssueParser
A parser forrustccompiler messages in the JSON format emitted bycargo check --message-format json.- Author:
- Gary Tierney
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CargoCheckParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Reportparse(ReaderFactory readerFactory)Parses the specified file for issues.-
Methods inherited from class edu.hm.hafner.analysis.IssueParser
accepts, equalsIgnoreCase, isXmlFile, parseFile
-
-
-
-
Method Detail
-
parse
public Report parse(ReaderFactory readerFactory) throws ParsingException, ParsingCanceledException
Description copied from class:IssueParserParses the specified file for issues.- Specified by:
parsein classIssueParser- Parameters:
readerFactory- provides a reader to the reports- Returns:
- the issues
- Throws:
ParsingException- Signals that during parsing a non recoverable error has been occurredParsingCanceledException- Signals that the parsing has been aborted by the user
-
-