public final class DatastreamParser extends Parser
parsingOffset, stream| Constructor and Description |
|---|
DatastreamParser(Parser parentParser,
RandomAccessInputStream stream) |
| Modifier and Type | Method and Description |
|---|---|
private void |
checkGDISignaturePresence() |
void |
close() |
void |
parse() |
private void |
parseImageHeader() |
private void |
parsePrimaryImagePlaneHeader() |
private void |
verifyImageHeaderConformance() |
private void |
verifyPrimaryImagePlaneHeaderConformance() |
getParentParser, parseprivate int reservedB
private boolean hardTilingFlag
private boolean tilingFlag
private boolean frequencyModeCodestreamFlag
private int spatialXfrmSubordinate
private boolean indexTablePresentFlag
private int overlapMode
private boolean shortHeaderFlag
private boolean longWordFlag
private boolean windowingFlag
private boolean trimFlexbitsFlag
private int reservedD
private boolean redBlueNotSwappedFlag
private boolean premultipliedAlphaFlag
private boolean alphaImagePlaneFlag
private OutputColorFormat outputClrFmt
private BitDepth outputBitdepth
private int widthMinus1
private int heightMinus1
private int numVerTilesMinus1
private int numHorTilesMinus1
private short[] tileWidthInMB
private short[] tileHeightInMB
private int topMargin
private int leftMargin
private int bottomMargin
private int rightMargin
private InternalColorFormat internalClrFmt
private boolean scaledFlag
private FrequencyBand bandsPresent
private int chromaCenteringX
private int chromaCenteringY
private int numComponentsMinus1
private int numComponentsExtendedMinus16
private int numComponents
private int shiftBits
private int lenMantissa
private int expBias
private boolean lpImagePlaneUniformFlag
private boolean hpImagePlaneUniformFlag
public DatastreamParser(Parser parentParser, RandomAccessInputStream stream) throws JXRException
JXRExceptionpublic void parse()
throws JXRException
parse in class ParserJXRExceptionprivate void checkGDISignaturePresence()
throws IOException,
JXRException
IOExceptionJXRExceptionprivate void parseImageHeader()
throws IOException
IOExceptionprivate void verifyImageHeaderConformance()
throws JXRException
JXRExceptionprivate void parsePrimaryImagePlaneHeader()
throws IOException
IOExceptionprivate void verifyPrimaryImagePlaneHeaderConformance()
throws JXRException
JXRExceptionpublic void close()
throws IOException
close in class ParserIOExceptionCopyright © 2015 Open Microscopy Environment