Package com.io7m.calino.parser.api
Interface CLNParserFactoryType
- All Known Implementing Classes:
CLN1Parsers
public interface CLNParserFactoryType
A factory of parsers.
-
Method Summary
Modifier and TypeMethodDescriptioncreateParser
(CLNParseRequest request) Create a new parser for the given request.int
int
-
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
Create a new parser for the given request.- Parameters:
request
- A parse request- Returns:
- A new parser
- Throws:
IOException
- On errors
-