Class InflaterInputStream

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

    public class InflaterInputStream
    extends DecompressedInputStream
    • Field Detail

      • inflater

        private java.util.zip.Inflater inflater
      • buff

        private byte[] buff
      • singleByteBuffer

        private byte[] singleByteBuffer
      • len

        private int len
    • Constructor Detail

      • InflaterInputStream

        public InflaterInputStream​(CipherInputStream<?> cipherInputStream,
                                   int bufferSize)
    • Method Detail

      • read

        public int read​(byte[] b)
                 throws java.io.IOException
        Overrides:
        read in class DecompressedInputStream
        Throws:
        java.io.IOException
      • read

        public int read​(byte[] b,
                        int off,
                        int len)
                 throws java.io.IOException
        Overrides:
        read in class DecompressedInputStream
        Throws:
        java.io.IOException
      • endOfEntryReached

        public void endOfEntryReached​(java.io.InputStream inputStream,
                                      int numberOfBytesPushedBack)
                               throws java.io.IOException
        Overrides:
        endOfEntryReached in class DecompressedInputStream
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Overrides:
        close in class DecompressedInputStream
        Throws:
        java.io.IOException
      • fill

        private void fill()
                   throws java.io.IOException
        Throws:
        java.io.IOException