public class CompressedInputStream
extends java.io.InputStream
CompressionInfo
.Modifier and Type | Field and Description |
---|---|
protected long |
bufferOffset |
protected int |
validBufferBytes |
Constructor and Description |
---|
CompressedInputStream(java.io.InputStream source,
CompressionInfo info) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
long |
getTotalCompressedBytesRead() |
void |
position(long position) |
int |
read() |
protected long bufferOffset
protected int validBufferBytes
public CompressedInputStream(java.io.InputStream source, CompressionInfo info)
source
- Input source to read compressed data frominfo
- Compression infopublic int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public void position(long position)
public long getTotalCompressedBytesRead()
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.InputStream
java.io.IOException
Copyright © 2015 The Apache Software Foundation