# Class CLNCompressors

java.lang.Object
com.io7m.calino.supercompression.api.CLNCompressors

All Implemented Interfaces:
  `CLNCompressorFactoryType`

public final class CLNCompressors extends Object implements CLNCompressorFactoryType
A factory of compressors.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CLNCompressors()`
  A factory of compressors.
  `CLNCompressors(List<CLNCompressorSPIFactoryType> inDecompressors)`
  A factory of compressors.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `CLNCompressorType`
  `createCompressor(CLNCompressorRequest request)`
  Create a compressor.

  ### Methods inherited from class Object

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

- ## Constructor Details

  - ### CLNCompressors

    public CLNCompressors(List<CLNCompressorSPIFactoryType> inDecompressors)
    A factory of compressors.
    Parameters:
      `inDecompressors` - The compressors

  - ### CLNCompressors

    public CLNCompressors()
    A factory of compressors.

- ## Method Details

  - ### createCompressor

    public CLNCompressorType createCompressor(CLNCompressorRequest request) throws IOException
    Description copied from interface: `CLNCompressorFactoryType`
    Create a compressor.
    Specified by:
      `createCompressor` in interface `CLNCompressorFactoryType`
    Parameters:
      `request` - The compression request
    Returns:
      A compressor
    Throws:
      `IOException` - On errors