Alle implementierten Schnittstellen:
Serializable

public class FlowParser extends JsonIssueParser
A parser for Flow warnings.
Autor:
PCTao
Siehe auch:
  • Konstruktordetails

    • FlowParser

      public FlowParser()
  • Methodendetails

    • accepts

      public boolean accepts(ReaderFactory readerFactory)
      Beschreibung aus Klasse kopiert: IssueParser
      Returns 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:
      accepts in Klasse JsonIssueParser
      Parameter:
      readerFactory - provides a reader to the reports
      Gibt zurück:
      true if this parser accepts this file as valid input, or false if the file could not be parsed by this parser
    • parseJsonObject

      protected void parseJsonObject(Report report, org.json.JSONObject jsonReport, IssueBuilder issueBuilder)
      Beschreibung aus Klasse kopiert: JsonIssueParser
      Parses the specified JSON object and populates the provided report with all issues.
      Setzt außer Kraft:
      parseJsonObject in Klasse JsonIssueParser
      Parameter:
      report - the report to fill
      jsonReport - the input JSON report given as JSON object
      issueBuilder - build to be used to create issues