# Interface CLNWriterFactoryType

All Known Implementing Classes:
  `CLN1Writers`

public interface CLNWriterFactoryType
The type of writer factories.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `CLNWriterType`
  `createWriter(CLNWriteRequest request)`
  Create a new writer for the given request.
  `int`
  `highestMinorVersion()`
  `int`
  `supportedMajorVersion()`

- ## Method Details

  - ### supportedMajorVersion

    int supportedMajorVersion()
    Returns:
      The major file format version supported by this factory

  - ### highestMinorVersion

    int highestMinorVersion()
    Returns:
      The highest known minor version for this writer factory

  - ### createWriter

    CLNWriterType createWriter(CLNWriteRequest request) throws IOException
    Create a new writer for the given request.
    Parameters:
      `request` - The request
    Returns:
      A new writer
    Throws:
      `IOException` - On errors