Package gov.nih.mipav.model.file
Class FileSVS.ModREADInputStream
- 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
-
- gov.nih.mipav.model.file.FileSVS.ModREADInputStream
-
- All Implemented Interfaces:
FileSVS.ModHuffmanTable
,FileSVS.ModREADTable
,java.io.Closeable
,java.lang.AutoCloseable
- Enclosing class:
- FileSVS
public class FileSVS.ModREADInputStream extends FileSVS.ModModREADInputStream
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class gov.nih.mipav.model.file.FileSVS.ModHuffmanInputStream
FileSVS.ModHuffmanInputStream.ModHuffmanCodingException
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
isReferenceLine
-
Fields inherited from class gov.nih.mipav.model.file.FileSVS.ModHuffmanInputStream
state
-
Fields inherited from class gov.nih.mipav.model.file.FileSVS.BitInputStream
count, nextByteMoreSignificant
-
Fields inherited from interface gov.nih.mipav.model.file.FileSVS.ModHuffmanTable
BLACK, EOL, EOLCW, makeUpBlack, makeUpWhite, MAXCHUNK, termBlack, termWhite, WHITE
-
-
Constructor Summary
Constructors Constructor Description ModREADInputStream(java.io.InputStream in, int width)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
init(int width)
int
read()
void
readEOL()
-
Methods inherited from class gov.nih.mipav.model.file.FileSVS.ModModREADInputStream
getREADCode, initNewLine, read1D, read2D
-
Methods inherited from class gov.nih.mipav.model.file.FileSVS.ModHuffmanInputStream
checkEOL, findToken, getColour, getState, read, read, skipPadding, syncWithEOL
-
Methods inherited from class gov.nih.mipav.model.file.FileSVS.BitInputStream
availableBits, cbCount, clrBits, getBits, needBits, readBit, readBits, reset, setNextByteMoreSignificant
-
-
-
-
Method Detail
-
init
protected void init(int width) throws java.io.IOException
- Overrides:
init
in classFileSVS.ModModREADInputStream
- Throws:
java.io.IOException
-
readEOL
public void readEOL() throws java.io.IOException
- Overrides:
readEOL
in classFileSVS.ModModREADInputStream
- Throws:
java.io.IOException
-
read
public int read() throws java.io.IOException
- Overrides:
read
in classFileSVS.ModModREADInputStream
- Throws:
java.io.IOException
-
-