@Deprecated public final class FileParser extends Parser
| Modifier and Type | Field and Description |
|---|---|
private int |
encoderVersion
Deprecated.
|
private long |
fileSize
Deprecated.
|
private boolean |
isLittleEndian
Deprecated.
|
private int |
rootIFDOffset
Deprecated.
|
parsingOffset, stream| Constructor and Description |
|---|
FileParser(RandomAccessInputStream stream)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
calculateIFDOffset()
Deprecated.
|
private void |
checkFileSize()
Deprecated.
|
private void |
checkFileStructureVersion()
Deprecated.
|
private void |
checkHeaderBOM()
Deprecated.
|
private void |
checkHeaderLength()
Deprecated.
|
private void |
checkIfValidJpegXr()
Deprecated.
|
void |
close()
Deprecated.
|
int |
getEncoderVersion()
Deprecated.
|
long |
getFileSize()
Deprecated.
|
int |
getRootIFDOffset()
Deprecated.
|
boolean |
isLittleEndian()
Deprecated.
|
void |
parse(long parsingOffset)
Deprecated.
|
getParentParser, parseprivate int encoderVersion
private boolean isLittleEndian
private int rootIFDOffset
private long fileSize
public FileParser(RandomAccessInputStream stream)
public int getEncoderVersion()
public long getFileSize()
public boolean isLittleEndian()
public int getRootIFDOffset()
public void parse(long parsingOffset)
throws JXRException
parse in class ParserJXRExceptionprivate void checkFileSize()
throws IOException,
JXRException
IOExceptionJXRExceptionprivate void checkHeaderLength()
throws IOException,
JXRException
IOExceptionJXRExceptionprivate void checkFileStructureVersion()
throws IOException,
JXRException
IOExceptionJXRExceptionprivate void checkHeaderBOM()
throws IOException,
JXRException
IOExceptionJXRExceptionprivate void checkIfValidJpegXr()
throws IOException,
JXRException
IOExceptionJXRExceptionprivate void calculateIFDOffset()
throws IOException,
JXRException
IOExceptionJXRExceptionpublic void close()
throws IOException
close in class ParserIOExceptionCopyright © 2016 Open Microscopy Environment