java.lang.Object
edu.hm.hafner.analysis.IssueParser
edu.hm.hafner.analysis.parser.JsonLogParser
- Alle implementierten Schnittstellen:
Serializable
Parser for logs in JSON format.
- Autor:
- Jeremie Bresson
- Siehe auch:
-
Feldübersicht
Von Klasse geerbte Felder edu.hm.hafner.analysis.IssueParser
ADDITIONAL_PROPERTIES, CATEGORY, COLUMN_END, COLUMN_START, DESCRIPTION, FILE_NAME, FINGERPRINT, ID, LINE_END, LINE_RANGE_END, LINE_RANGE_START, LINE_RANGES, LINE_START, MESSAGE, MODULE_NAME, ORIGIN, PACKAGE_NAME, SEVERITY, TYPE -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleanaccepts(ReaderFactory readerFactory) Returns whether this parser accepts the specified file as valid input.parse(ReaderFactory readerFactory) Parses the specified file for issues.Von Klasse geerbte Methoden edu.hm.hafner.analysis.IssueParser
equalsIgnoreCase, isXmlFile, parseFile
-
Konstruktordetails
-
JsonLogParser
public JsonLogParser()
-
-
Methodendetails
-
accepts
Beschreibung aus Klasse kopiert:IssueParserReturns whether this parser accepts the specified file as valid input. Parsers may reject a file if it is in the wrong format to avoid exceptions during parsing.- Setzt außer Kraft:
acceptsin KlasseIssueParser- Parameter:
readerFactory- provides a reader to the reports- Gibt zurück:
trueif this parser accepts this file as valid input, orfalseif the file could not be parsed by this parser
-
parse
Beschreibung aus Klasse kopiert:IssueParserParses the specified file for issues.- Angegeben von:
parsein KlasseIssueParser- Parameter:
readerFactory- provides a reader to the reports- Gibt zurück:
- the issues
- Löst aus:
ParsingException- Signals that during parsing a non-recoverable error has been occurred
-