Class StreamCompressionInputStream

  • All Implemented Interfaces:
    java.io.Closeable, java.io.DataInput, java.lang.AutoCloseable, DataInputPlus

    public class StreamCompressionInputStream
    extends RebufferingInputStream
    implements java.lang.AutoCloseable
    • Constructor Detail

      • StreamCompressionInputStream

        public StreamCompressionInputStream​(DataInputPlus dataInputPlus,
                                            int protocolVersion)
    • Method Detail

      • reBuffer

        public void reBuffer()
                      throws java.io.IOException
        Description copied from class: RebufferingInputStream
        Implementations must implement this method to refill the buffer. They can expect the buffer to be empty when this method is invoked.
        Specified by:
        reBuffer in class RebufferingInputStream
        Throws:
        java.io.IOException
      • close

        public void close()
        Close resources except dataInputPlus as that needs to remain open for other streaming activity.
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Overrides:
        close in class java.io.InputStream