Package gov.nih.mipav.model.file
Class FileTiff.ModREADInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- gov.nih.mipav.model.file.FileTiff.BitInputStream
-
- gov.nih.mipav.model.file.FileTiff.ModHuffmanInputStream
-
- gov.nih.mipav.model.file.FileTiff.ModModREADInputStream
-
- gov.nih.mipav.model.file.FileTiff.ModREADInputStream
-
- All Implemented Interfaces:
FileTiff.ModHuffmanTable
,FileTiff.ModREADTable
,java.io.Closeable
,java.lang.AutoCloseable
- Enclosing class:
- FileTiff
public class FileTiff.ModREADInputStream extends FileTiff.ModModREADInputStream
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class gov.nih.mipav.model.file.FileTiff.ModHuffmanInputStream
FileTiff.ModHuffmanInputStream.ModHuffmanCodingException
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
isReferenceLine
-
Fields inherited from class gov.nih.mipav.model.file.FileTiff.ModHuffmanInputStream
state
-
Fields inherited from class gov.nih.mipav.model.file.FileTiff.BitInputStream
count, nextByteMoreSignificant
-
Fields inherited from interface gov.nih.mipav.model.file.FileTiff.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.FileTiff.ModModREADInputStream
getREADCode, initNewLine, read1D, read2D
-
Methods inherited from class gov.nih.mipav.model.file.FileTiff.ModHuffmanInputStream
checkEOL, findToken, getColour, getState, read, read, skipPadding, syncWithEOL
-
Methods inherited from class gov.nih.mipav.model.file.FileTiff.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 classFileTiff.ModModREADInputStream
- Throws:
java.io.IOException
-
readEOL
public void readEOL() throws java.io.IOException
- Overrides:
readEOL
in classFileTiff.ModModREADInputStream
- Throws:
java.io.IOException
-
read
public int read() throws java.io.IOException
- Overrides:
read
in classFileTiff.ModModREADInputStream
- Throws:
java.io.IOException
-
-