Interface CLNParserFactoryType

All Known Implementing Classes:
CLN1Parsers

public interface CLNParserFactoryType
A factory of parsers.
  • Method Details

    • supportedMajorVersion

      int supportedMajorVersion()
      Returns:
      The major file format version that this parser supports
    • highestMinorVersion

      int highestMinorVersion()
      Returns:
      The highest known minor version for this parser factory
    • createParser

      CLNParserType createParser(CLNParseRequest request) throws IOException
      Create a new parser for the given request.
      Parameters:
      request - A parse request
      Returns:
      A new parser
      Throws:
      IOException - On errors