Package gov.nih.mipav.model.file
Class FileSVS.ModModREADInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
gov.nih.mipav.model.file.FileSVS.BitInputStream
gov.nih.mipav.model.file.FileSVS.ModHuffmanInputStream
gov.nih.mipav.model.file.FileSVS.ModModREADInputStream
- All Implemented Interfaces:
FileSVS.ModHuffmanTable,FileSVS.ModREADTable,Closeable,AutoCloseable
- Direct Known Subclasses:
FileSVS.ModREADInputStream
- Enclosing class:
FileSVS
public class FileSVS.ModModREADInputStream
extends FileSVS.ModHuffmanInputStream
implements FileSVS.ModREADTable
-
Nested Class Summary
Nested classes/interfaces inherited from class gov.nih.mipav.model.file.FileSVS.ModHuffmanInputStream
FileSVS.ModHuffmanInputStream.ModHuffmanCodingException -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate intprivate intprivate int[]private intprivate int[]private final intFields inherited from class gov.nih.mipav.model.file.FileSVS.ModHuffmanInputStream
stateFields inherited from class gov.nih.mipav.model.file.FileSVS.BitInputStream
count, nextByteMoreSignificantFields inherited from class java.io.FilterInputStream
inFields inherited from interface gov.nih.mipav.model.file.FileSVS.ModHuffmanTable
BLACK, EOL, EOLCW, makeUpBlack, makeUpWhite, MAXCHUNK, termBlack, termWhite, WHITE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class gov.nih.mipav.model.file.FileSVS.ModHuffmanInputStream
checkEOL, findToken, getColour, getState, read, read, skipPadding, syncWithEOLMethods inherited from class gov.nih.mipav.model.file.FileSVS.BitInputStream
availableBits, cbCount, clrBits, getBits, needBits, readBit, readBits, reset, setNextByteMoreSignificantMethods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, skipMethods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Field Details
-
refline
private int[] refline -
codeline
private int[] codeline -
clindex
private int clindex -
a0
private int a0 -
b1
private int b1 -
maxb1
private int maxb1 -
code
private int code -
width
private final int width
-
-
Constructor Details
-
ModModREADInputStream
- Throws:
IOException
-
-
Method Details
-
init
- Throws:
IOException
-
initNewLine
- Throws:
IOException
-
readEOL
- Overrides:
readEOLin classFileSVS.ModHuffmanInputStream- Throws:
IOException
-
getREADCode
- Throws:
IOException
-
setB1
private void setB1() -
readPassMode
- Throws:
IOException
-
readHorizontalMode1
- Throws:
IOException
-
readHorizontalMode2
- Throws:
IOException
-
readVerticalMode
- Throws:
IOException
-
read2D
- Throws:
IOException
-
read1D
- Throws:
IOException
-
read
- Overrides:
readin classFileSVS.ModHuffmanInputStream- Throws:
IOException
-