org.apache.ant.compress.util

## Interface CompressorWithConcatenatedStreamsFactory

- All Superinterfaces:
    CompressorStreamFactory
  All Known Implementing Classes:
    BZip2StreamFactory, GZipStreamFactory, LZ4StreamFactory, XZStreamFactory

      public interface CompressorWithConcatenatedStreamsFactory
      extends CompressorStreamFactory

  Creates input streams for the compression formats that support concatenated streams.
  Since:
    Apache Compress Antlib 1.2

- - ### 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, boolean decompressConcatenated)`

    - ### Methods inherited from interface org.apache.ant.compress.util.CompressorStreamFactory

      `getCompressorStream, getCompressorStream`

- - ### Method Detail

    - #### getCompressorStream

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

      Parameters:
        `stream` - the stream to read from, should be buffered
        `decompressConcatenated` - if true, decompress until the end of the input; if false, stop after the first stream
      Throws:
        `java.io.IOException`