Search in sources :

Example 1 with DataEntryURLBox

use of com.sun.media.imageioimpl.plugins.jpeg2000.DataEntryURLBox in project bioformats by openmicroscopy.

the class FileFormatReader method readURLBox.

/**
 * This method reads the contents of the XML box
 */
public void readURLBox(int length) throws IOException {
    if (metadata != null) {
        byte[] data = new byte[length];
        in.readFully(data, 0, length);
        metadata.addNode(new DataEntryURLBox(data));
    }
}
Also used : DataEntryURLBox(com.sun.media.imageioimpl.plugins.jpeg2000.DataEntryURLBox)

Example 2 with DataEntryURLBox

use of com.sun.media.imageioimpl.plugins.jpeg2000.DataEntryURLBox in project bioformats by ome.

the class FileFormatReader method readURLBox.

/**
 * This method reads the contents of the XML box
 */
public void readURLBox(int length) throws IOException {
    if (metadata != null) {
        byte[] data = new byte[length];
        in.readFully(data, 0, length);
        metadata.addNode(new DataEntryURLBox(data));
    }
}
Also used : DataEntryURLBox(com.sun.media.imageioimpl.plugins.jpeg2000.DataEntryURLBox)

Aggregations

DataEntryURLBox (com.sun.media.imageioimpl.plugins.jpeg2000.DataEntryURLBox)2