# Class CLN2Parser

java.lang.Object
com.io7m.calino.vanilla.internal.CLN2Parser

All Implemented Interfaces:
  `CLNParserType, AutoCloseable`

public final class CLN2Parser extends Object implements CLNParserType
The main parser implementation.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CLN2Parser(CLNParseRequest inRequest, com.io7m.jbssio.api.BSSReaderProviderType inBSSReaders, com.io7m.entomos.core.EoFileReaderFactoryType<com.io7m.entomos.core.EoFileVersionsDescription> inReadersChecked, com.io7m.entomos.core.EoFileReaderFactoryType<Void> inReadersUnchecked)`
  The main parser implementation.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `close()`
  `CLNFileReadableType`
  `execute()`
  Execute the parser, returning a readable file.

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### CLN2Parser

    public CLN2Parser(CLNParseRequest inRequest, com.io7m.jbssio.api.BSSReaderProviderType inBSSReaders, com.io7m.entomos.core.EoFileReaderFactoryType<com.io7m.entomos.core.EoFileVersionsDescription> inReadersChecked, com.io7m.entomos.core.EoFileReaderFactoryType<Void> inReadersUnchecked)
    The main parser implementation.
    Parameters:
      `inRequest` - The read request
      `inBSSReaders` - The BSS reader factory
      `inReadersChecked` - A checked reader factory
      `inReadersUnchecked` - An unchecked reader factory

- ## Method Details

  - ### execute

    public CLNFileReadableType execute() throws CLNException
    Description copied from interface: `CLNParserType`
    Execute the parser, returning a readable file.
    Specified by:
      `execute` in interface `CLNParserType`
    Returns:
      The file
    Throws:
      `CLNException` - On errors

  - ### close

    public void close()
    Specified by:
      `close` in interface `AutoCloseable`