use of com.sun.media.imageioimpl.plugins.jpeg2000.XMLBox in project bioformats by openmicroscopy.
the class FileFormatReader method readXMLBox.
/**
* This method reads the contents of the XML box
*/
public void readXMLBox(int length) throws IOException {
if (metadata != null) {
byte[] data = new byte[length];
in.readFully(data, 0, length);
metadata.addNode(new XMLBox(data));
}
}
use of com.sun.media.imageioimpl.plugins.jpeg2000.XMLBox in project bioformats by ome.
the class FileFormatReader method readXMLBox.
/**
* This method reads the contents of the XML box
*/
public void readXMLBox(int length) throws IOException {
if (metadata != null) {
byte[] data = new byte[length];
in.readFully(data, 0, length);
metadata.addNode(new XMLBox(data));
}
}
Aggregations