uk.co.mmscomputing.io
Class ModREADInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by uk.co.mmscomputing.io.BitInputStream
              extended by uk.co.mmscomputing.io.ModHuffmanInputStream
                  extended by uk.co.mmscomputing.io.ModModREADInputStream
                      extended by uk.co.mmscomputing.io.ModREADInputStream
All Implemented Interfaces:
java.io.Closeable, ModHuffmanTable, ModREADTable

public class ModREADInputStream
extends ModModREADInputStream


Nested Class Summary
 
Nested classes/interfaces inherited from class uk.co.mmscomputing.io.ModHuffmanInputStream
ModHuffmanInputStream.ModHuffmanCodingException
 
Field Summary
 
Fields inherited from class uk.co.mmscomputing.io.ModHuffmanInputStream
state
 
Fields inherited from class uk.co.mmscomputing.io.BitInputStream
count, nextByteMoreSignificant
 
Fields inherited from class java.io.FilterInputStream
in
 
Fields inherited from interface uk.co.mmscomputing.io.ModREADTable
codes, EOFB, H, HX, P, V0, VL1, VL2, VL3, VR1, VR2, VR3
 
Fields inherited from interface uk.co.mmscomputing.io.ModHuffmanTable
BLACK, EOL, EOLCW, makeUpBlack, makeUpWhite, MAXCHUNK, termBlack, termWhite, WHITE
 
Constructor Summary
ModREADInputStream(java.io.InputStream in, int width)
           
 
Method Summary
protected  void init(int width)
           
 int read()
           
 void readEOL()
           
 
Methods inherited from class uk.co.mmscomputing.io.ModModREADInputStream
getREADCode, initNewLine, read1D, read2D
 
Methods inherited from class uk.co.mmscomputing.io.ModHuffmanInputStream
checkEOL, findToken, getColour, getState, main, read, read, skipPadding, syncWithEOL
 
Methods inherited from class uk.co.mmscomputing.io.BitInputStream
availableBits, cbCount, clrBits, getBits, needBits, readBit, readBits, reset, setNextByteMoreSignificant
 
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModREADInputStream

public ModREADInputStream(java.io.InputStream in,
                          int width)
                   throws java.io.IOException
Throws:
java.io.IOException
Method Detail

init

protected void init(int width)
             throws java.io.IOException
Overrides:
init in class ModModREADInputStream
Throws:
java.io.IOException

readEOL

public void readEOL()
             throws java.io.IOException
Overrides:
readEOL in class ModModREADInputStream
Throws:
java.io.IOException

read

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


Copyright © 2011 Direcció General de Tecnologia i Comunicacions. Govern de les Illes Balears. All Rights Reserved.