CompressorInputStreams and CompressorOutputStreams.
| Modifier and Type | Method and Description |
|---|---|
| public CompressorInputStream | Returns: compressor input streamof the compressor, i.e. gz,
bzip2,
xz,
lzma,
pack200,
snappy-raw,
snappy-framed,
z or
deflate name, InputStream the input stream in, boolean if true, decompress until the end of the input; if false, stop after the first stream and leave the input position to point to
the next byte after the stream. This setting applies to the gzip, bzip2 and XZ formats only. decompressUntilEOF)Creates a compressor input stream from a compressor name and an input stream. |
| public CompressorOutputStream | Returns: the compressor output streamthe compressor name, i.e. gz,
bzip2,
xz,
pack200 or
deflate name, OutputStream the output stream out)Creates a compressor output stream from a compressor name and an output stream. |
| public Set | Returns: all the input compressor names for this providerGets all the input stream compressor names for this provider |
| public Set | Returns: all the output compressor names for this providerGets all the output stream compressor names for this provider |
| createCompressorInputStream | back to summary |
|---|---|
| public CompressorInputStream createCompressorInputStream(String name, InputStream in, boolean decompressUntilEOF) throws CompressorException Creates a compressor input stream from a compressor name and an input stream.
| |
| createCompressorOutputStream | back to summary |
|---|---|
| public CompressorOutputStream createCompressorOutputStream(String name, OutputStream out) throws CompressorException Creates a compressor output stream from a compressor name and an output stream.
| |
| getInputStreamCompressorNames | back to summary |
|---|---|
| public Set Gets all the input stream compressor names for this provider | |
| getOutputStreamCompressorNames | back to summary |
|---|---|
| public Set Gets all the output stream compressor names for this provider | |