Class DecompressedInputStream

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable
    Direct Known Subclasses:
    InflaterInputStream, StoreInputStream

    abstract class DecompressedInputStream
    extends java.io.InputStream
    • Field Detail

      • oneByteBuffer

        protected byte[] oneByteBuffer
    • Constructor Detail

      • DecompressedInputStream

        public DecompressedInputStream​(CipherInputStream<?> cipherInputStream)
    • Method Detail

      • read

        public int read()
                 throws java.io.IOException
        Specified by:
        read in class java.io.InputStream
        Throws:
        java.io.IOException
      • read

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

        public int read​(byte[] b,
                        int off,
                        int len)
                 throws java.io.IOException
        Overrides:
        read in class java.io.InputStream
        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 java.io.InputStream
        Throws:
        java.io.IOException
      • endOfEntryReached

        public void endOfEntryReached​(java.io.InputStream inputStream,
                                      int numberOfBytesPushedBack)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • pushBackInputStreamIfNecessary

        public int pushBackInputStreamIfNecessary​(java.io.PushbackInputStream pushbackInputStream)
                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • getLastReadRawDataCache

        protected byte[] getLastReadRawDataCache()