org.jpedal.jbig2.decoders
Class MMRDecoder

java.lang.Object
  extended by org.jpedal.jbig2.decoders.MMRDecoder

public class MMRDecoder
extends java.lang.Object


Field Summary
static int ccittEndOfLine
           
static int twoDimensionalHorizontal
           
static int twoDimensionalPass
           
static int twoDimensionalVertical0
           
static int twoDimensionalVerticalL1
           
static int twoDimensionalVerticalL2
           
static int twoDimensionalVerticalL3
           
static int twoDimensionalVerticalR1
           
static int twoDimensionalVerticalR2
           
static int twoDimensionalVerticalR3
           
 
Constructor Summary
MMRDecoder(StreamReader reader)
           
 
Method Summary
 long get24Bits()
           
 int get2DCode()
           
 int getBlackCode()
           
 int getWhiteCode()
           
 void reset()
           
 void skipTo(int length)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ccittEndOfLine

public static int ccittEndOfLine

twoDimensionalPass

public static final int twoDimensionalPass
See Also:
Constant Field Values

twoDimensionalHorizontal

public static final int twoDimensionalHorizontal
See Also:
Constant Field Values

twoDimensionalVertical0

public static final int twoDimensionalVertical0
See Also:
Constant Field Values

twoDimensionalVerticalR1

public static final int twoDimensionalVerticalR1
See Also:
Constant Field Values

twoDimensionalVerticalL1

public static final int twoDimensionalVerticalL1
See Also:
Constant Field Values

twoDimensionalVerticalR2

public static final int twoDimensionalVerticalR2
See Also:
Constant Field Values

twoDimensionalVerticalL2

public static final int twoDimensionalVerticalL2
See Also:
Constant Field Values

twoDimensionalVerticalR3

public static final int twoDimensionalVerticalR3
See Also:
Constant Field Values

twoDimensionalVerticalL3

public static final int twoDimensionalVerticalL3
See Also:
Constant Field Values
Constructor Detail

MMRDecoder

public MMRDecoder(StreamReader reader)
Method Detail

reset

public void reset()

skipTo

public void skipTo(int length)
            throws java.io.IOException
Throws:
java.io.IOException

get24Bits

public long get24Bits()
               throws java.io.IOException
Throws:
java.io.IOException

get2DCode

public int get2DCode()
              throws java.io.IOException
Throws:
java.io.IOException

getWhiteCode

public int getWhiteCode()
                 throws java.io.IOException
Throws:
java.io.IOException

getBlackCode

public int getBlackCode()
                 throws java.io.IOException
Throws:
java.io.IOException