uk.co.mmscomputing.io
Class ModModREADInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
uk.co.mmscomputing.io.BitInputStream
uk.co.mmscomputing.io.ModHuffmanInputStream
uk.co.mmscomputing.io.ModModREADInputStream
- All Implemented Interfaces:
- java.io.Closeable, ModHuffmanTable, ModREADTable
- Direct Known Subclasses:
- ModREADInputStream
public class ModModREADInputStream
- extends ModHuffmanInputStream
- implements ModREADTable
| 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 |
| 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 |
ModModREADInputStream
public ModModREADInputStream(java.io.InputStream in,
int width)
throws java.io.IOException
- Throws:
java.io.IOException
init
protected void init(int width)
throws java.io.IOException
- Throws:
java.io.IOException
initNewLine
protected void initNewLine()
throws java.io.IOException
- Throws:
java.io.IOException
readEOL
public void readEOL()
throws java.io.IOException
- Overrides:
readEOL in class ModHuffmanInputStream
- Throws:
java.io.IOException
getREADCode
protected int getREADCode()
throws java.io.IOException
- Throws:
java.io.IOException
read2D
protected int read2D()
throws java.io.IOException
- Throws:
java.io.IOException
read1D
protected int read1D()
throws java.io.IOException
- Throws:
java.io.IOException
read
public int read()
throws java.io.IOException
- Overrides:
read in class ModHuffmanInputStream
- Throws:
java.io.IOException
Copyright © 2011 Direcció General de Tecnologia i Comunicacions. Govern de les Illes Balears. All Rights Reserved.