org.apache.ant.compress.util

## Interface CompressorStreamFactory

- All Known Subinterfaces:
    CompressorWithConcatenatedStreamsFactory, FileAwareCompressorStreamFactory
  All Known Implementing Classes:
    BrotliStreamFactory, BZip2StreamFactory, DeflateStreamFactory, GZipStreamFactory, LZ4StreamFactory, LZMAStreamFactory, Pack200StreamFactory, SnappyStreamFactory, XZStreamFactory, ZStreamFactory

      public interface CompressorStreamFactory

  Creates streams for the supported compression formats.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `org.apache.commons.compress.compressors.CompressorInputStream` | `getCompressorStream(java.io.InputStream stream)`
    `org.apache.commons.compress.compressors.CompressorOutputStream` | `getCompressorStream(java.io.OutputStream stream)`

- - ### Method Detail

    - #### getCompressorStream

          org.apache.commons.compress.compressors.CompressorInputStream getCompressorStream(java.io.InputStream stream)
                                                                                     throws java.io.IOException

      Parameters:
        `stream` - the stream to read from, should be buffered
      Throws:
        `java.io.IOException`

    - #### getCompressorStream

          org.apache.commons.compress.compressors.CompressorOutputStream getCompressorStream(java.io.OutputStream stream)
                                                                                      throws java.io.IOException

      Parameters:
        `stream` - the stream to write to, should be buffered
      Throws:
        `java.io.IOException`