# Interface CLNWriterType

All Superinterfaces:
  `AutoCloseable`

All Known Implementing Classes:
  `CLN2Writer`

public interface CLNWriterType extends AutoCloseable
A file writer.

- ## Method Summary

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

- ## Method Details

  - ### close

    void close() throws CLNException
    Specified by:
      `close` in interface `AutoCloseable`
    Throws:
      `CLNException`

  - ### execute

    CLNFileWritableType execute() throws CLNException
    Execute the writer.
    Returns:
      A writable file
    Throws:
      `CLNException` - On errors