Search in sources :

Example 1 with UUIDBox

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

the class FileFormatReader method readUUIDBox.

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

Example 2 with UUIDBox

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

the class FileFormatReader method readUUIDBox.

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

Aggregations

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