Package com.io7m.calino.vanilla
Class CLN1Parsers
java.lang.Object
com.io7m.calino.vanilla.CLN1Parsers
- All Implemented Interfaces:
CLNParserFactoryType
A parser factory supporting major version 1.
-
Constructor Summary
ConstructorDescriptionA parser factory supporting major version 1.CLN1Parsers
(com.io7m.jbssio.api.BSSReaderProviderType inReaders) A parser factory supporting major version 1. -
Method Summary
Modifier and TypeMethodDescriptioncreateParser
(CLNParseRequest request) Create a new parser for the given request.int
int
-
Constructor Details
-
CLN1Parsers
public CLN1Parsers()A parser factory supporting major version 1. -
CLN1Parsers
public CLN1Parsers(com.io7m.jbssio.api.BSSReaderProviderType inReaders) A parser factory supporting major version 1.- Parameters:
inReaders
- A provider of readers
-
-
Method Details
-
supportedMajorVersion
public int supportedMajorVersion()- Specified by:
supportedMajorVersion
in interfaceCLNParserFactoryType
- Returns:
- The major file format version that this parser supports
-
highestMinorVersion
public int highestMinorVersion()- Specified by:
highestMinorVersion
in interfaceCLNParserFactoryType
- Returns:
- The highest known minor version for this parser factory
-
createParser
Description copied from interface:CLNParserFactoryType
Create a new parser for the given request.- Specified by:
createParser
in interfaceCLNParserFactoryType
- Parameters:
request
- A parse request- Returns:
- A new parser
- Throws:
IOException
- On errors
-