public class StreamCompressionInputStream extends RebufferingInputStream implements java.lang.AutoCloseable
DataInputPlus.DataInputStreamPlus
buffer
Constructor and Description |
---|
StreamCompressionInputStream(DataInputPlus dataInputPlus,
int protocolVersion) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close resources except
dataInputPlus as that needs to remain open for other streaming activity. |
void |
reBuffer()
Implementations must implement this method to refill the buffer.
|
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readFully, readInt, readLine, readLong, readPrimitiveSlowly, readShort, readUnsignedByte, readUnsignedShort, readUnsignedVInt, readUTF, readVInt, skipBytes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
skipBytesFully
public StreamCompressionInputStream(DataInputPlus dataInputPlus, int protocolVersion)
public void reBuffer() throws java.io.IOException
RebufferingInputStream
reBuffer
in class RebufferingInputStream
java.io.IOException
public void close()
dataInputPlus
as that needs to remain open for other streaming activity.close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.InputStream
Copyright © 2009- The Apache Software Foundation