# Class CLN1Writer

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

All Implemented Interfaces:
  `CLNWriterType, Closeable, AutoCloseable`

public final class CLN1Writer extends Object implements CLNWriterType
The main writer implementation.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CLN1Writer(com.io7m.jbssio.api.BSSWriterProviderType inWriters, CLNWriteRequest inRequest, com.io7m.jbssio.api.BSSWriterRandomAccessType inWriter)`
  The main writer implementation.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `close()`
  `CLNFileWritableType`
  `execute()`
  Execute the writer.

  ### Methods inherited from class Object

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

- ## Constructor Details

  - ### CLN1Writer

    public CLN1Writer(com.io7m.jbssio.api.BSSWriterProviderType inWriters, CLNWriteRequest inRequest, com.io7m.jbssio.api.BSSWriterRandomAccessType inWriter)
    The main writer implementation.
    Parameters:
      `inWriters` - A writer provider
      `inRequest` - The write request
      `inWriter` - The writer

- ## Method Details

  - ### execute

    public CLNFileWritableType execute() throws IOException
    Description copied from interface: `CLNWriterType`
    Execute the writer.
    Specified by:
      `execute` in interface `CLNWriterType`
    Returns:
      A writable file
    Throws:
      `IOException` - On errors

  - ### close

    public void close() throws IOException
    Specified by:
      `close` in interface `AutoCloseable`
    Specified by:
      `close` in interface `Closeable`
    Throws:
      `IOException`