Interface JCoRecXMLParser


public interface JCoRecXMLParser
The interface for the JCoRecorder XML parser.
  • Method Details

    • parse

      void parse(JCoRecRepository repo, String functionKey, File f) throws JCoRecXMLParserException
      Parsing of a single funtion from a file.
      Parameters:
      repo - the repository that should contain the function afterwards.
      functionKey - of the function that should be parsed from the file.
      f - the file that coantins the function that should be parsed.
      Throws:
      JCoRecXMLParserException - depends on the implementation.
    • parse

      void parse(JCoRecRepository repo, File f) throws JCoRecXMLParserException
      Parsing a whole file at once.
      Parameters:
      repo - the repository that should contain the data from the file afterwards.
      f - the file that coantins the data that should be parsed.
      Throws:
      JCoRecXMLParserException - depends on the implementation.