public class StreamCompressionInputStream extends RebufferingInputStream implements java.lang.AutoCloseable
DataInputPlus.DataInputStreamPlusbuffer| 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, skipBytesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitskipBytesFullypublic StreamCompressionInputStream(DataInputPlus dataInputPlus, int protocolVersion)
public void reBuffer()
throws java.io.IOException
RebufferingInputStreamreBuffer in class RebufferingInputStreamjava.io.IOExceptionpublic void close()
dataInputPlus as that needs to remain open for other streaming activity.close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreamCopyright © 2009-2022 The Apache Software Foundation