public final class JXRReader extends Object
Parser class. A successful
instantiation of this class guarantees initial validity of the image resource
passed into the constructor.
| Modifier and Type | Field and Description |
|---|---|
private DatastreamParser |
datastreamParser |
private String |
filename |
private FileParser |
fileParser |
private IFDParser |
ifdParser |
| Constructor and Description |
|---|
JXRReader(RandomAccessInputStream stream) |
JXRReader(String filename) |
private DatastreamParser datastreamParser
private FileParser fileParser
private IFDParser ifdParser
private String filename
public JXRReader(String filename) throws IOException, JXRException
IOExceptionJXRExceptionpublic JXRReader(RandomAccessInputStream stream) throws JXRException
JXRExceptionpublic byte[] getDecompressedImage()
throws JXRException
JXRExceptionpublic IFDMetadata getMetadata() throws JXRException
JXRExceptionpublic void close()
throws IOException
IOExceptionCopyright © 2015 Open Microscopy Environment