# Class CLNDecompressors

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

All Implemented Interfaces:
  `CLNDecompressorFactoryType`

public final class CLNDecompressors extends Object implements CLNDecompressorFactoryType
A factory of decompressors.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CLNDecompressors()`
  A factory of decompressors.
  `CLNDecompressors(List<CLNDecompressorSPIFactoryType> inDecompressors)`
  A factory of decompressors.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `CLNDecompressorType`
  `createDecompressor(CLNDecompressorRequest request)`
  Create a decompressor.

  ### Methods inherited from class Object

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

- ## Constructor Details

  - ### CLNDecompressors

    public CLNDecompressors(List<CLNDecompressorSPIFactoryType> inDecompressors)
    A factory of decompressors.
    Parameters:
      `inDecompressors` - The decompressors

  - ### CLNDecompressors

    public CLNDecompressors()
    A factory of decompressors.

- ## Method Details

  - ### createDecompressor

    public CLNDecompressorType createDecompressor(CLNDecompressorRequest request) throws IOException
    Description copied from interface: `CLNDecompressorFactoryType`
    Create a decompressor.
    Specified by:
      `createDecompressor` in interface `CLNDecompressorFactoryType`
    Parameters:
      `request` - The decompression request
    Returns:
      A decompressor
    Throws:
      `IOException` - On errors