# Interface CLNWriterFactoryType

All Known Implementing Classes:
  `CLN2Writers`

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 CLNException
    Create a new writer for the given request.
    Parameters:
      `request` - The request
    Returns:
      A new writer
    Throws:
      `CLNException` - On errors