@InterfaceAudience.Public @InterfaceStability.Evolving public class BlockDecompressorStream extends DecompressorStream
DecompressorStream which works
 with 'block-based' based compression algorithms, as opposed to 
 'stream-based' compression algorithms.buffer, closed, decompressor, eofin, maxAvailableData| Modifier | Constructor and Description | 
|---|---|
| protected  | BlockDecompressorStream(InputStream in) | 
|   | BlockDecompressorStream(InputStream in,
                                              Decompressor decompressor)Create a  BlockDecompressorStream. | 
|   | BlockDecompressorStream(InputStream in,
                                              Decompressor decompressor,
                                              int bufferSize)Create a  BlockDecompressorStream. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected int | decompress(byte[] b,
                    int off,
                    int len) | 
| protected int | getCompressedData() | 
| void | resetState()Reset the decompressor to its initial state and discard any buffered data,
 as the underlying stream may have been repositioned. | 
available, checkStream, close, mark, markSupported, read, read, reset, skipgetPos, seek, seekToNewSourcereadpublic BlockDecompressorStream(InputStream in, Decompressor decompressor, int bufferSize) throws IOException
BlockDecompressorStream.in - input streamdecompressor - decompressor to usebufferSize - size of bufferIOExceptionpublic BlockDecompressorStream(InputStream in, Decompressor decompressor) throws IOException
BlockDecompressorStream.in - input streamdecompressor - decompressor to useIOExceptionprotected BlockDecompressorStream(InputStream in) throws IOException
IOExceptionprotected int decompress(byte[] b, int off, int len) throws IOException
decompress in class DecompressorStreamIOExceptionprotected int getCompressedData() throws IOException
getCompressedData in class DecompressorStreamIOExceptionpublic void resetState() throws IOException
CompressionInputStreamresetState in class DecompressorStreamIOExceptionCopyright © 2016 Apache Software Foundation. All Rights Reserved.