Class FileTiff.ModHuffmanInputStream

    • Field Detail

      • state

        protected int state
    • Constructor Detail

      • ModHuffmanInputStream

        public ModHuffmanInputStream​(java.io.InputStream in)
    • Method Detail

      • syncWithEOL

        public void syncWithEOL()
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • readEOL

        public void readEOL()
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • getState

        public int getState()
      • getColour

        public int getColour​(int colwhite)
      • read

        public int read()
                 throws java.io.IOException
        Overrides:
        read in class java.io.FilterInputStream
        Throws:
        java.io.IOException
      • read

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

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

        private int read​(int[][] makeUp,
                         int maxmakeUp,
                         int[][] term,
                         int maxterm)
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • findToken

        protected int findToken​(int[][] table)
      • checkEOL

        protected int checkEOL()
                        throws java.io.IOException
        Throws:
        java.io.IOException