| Package | Description |
|---|---|
| org.apache.commons.compress.compressors |
Provides a unified API and factories for dealing with compressed streams.
|
| Modifier and Type | Method and Description |
|---|---|
CompressorInputStream |
CompressorStreamFactory.createCompressorInputStream(InputStream in)
Creates a compressor input stream from an input stream, auto-detecting the
compressor type from the first few bytes of the stream.
|
CompressorInputStream |
CompressorStreamFactory.createCompressorInputStream(InputStream in,
Set<String> compressorNames)
Creates a compressor input stream from an input stream, auto-detecting the
compressor type from the first few bytes of the stream while limiting the detected type
to the provided set of compressor names.
|
CompressorInputStream |
CompressorStreamFactory.createCompressorInputStream(String name,
InputStream in)
Creates a compressor input stream from a compressor name and an input
stream.
|
CompressorInputStream |
CompressorStreamProvider.createCompressorInputStream(String name,
InputStream in,
boolean decompressUntilEOF)
Creates a compressor input stream from a compressor name and an input
stream.
|
CompressorInputStream |
CompressorStreamFactory.createCompressorInputStream(String name,
InputStream in,
boolean actualDecompressConcatenated) |
CompressorOutputStream |
CompressorStreamProvider.createCompressorOutputStream(String name,
OutputStream out)
Creates a compressor output stream from a compressor name and an output
stream.
|
CompressorOutputStream |
CompressorStreamFactory.createCompressorOutputStream(String name,
OutputStream out)
Creates a compressor output stream from a compressor name and an output
stream.
|
static String |
CompressorStreamFactory.detect(InputStream inputStream)
Detects the type of compressor stream.
|
Copyright © 2002–2025. All rights reserved.