makeAssocProperty, selfDescProperty_bytesRead, associations, DESCRIPTION_NAME, noJP2Hdr, startBytesRead_boxHeader, _dstrm, _module, _parentBox, _raf, _repInfo, bytesLeft, filePos, hasBoxes| Constructor and Description |
|---|
LabelBox(RandomAccessFile raf,
BoxHolder parent)
Constructor with superbox.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
getLabel()
Returns the label string.
|
protected Property |
getSelfPropDesc()
Returns a Property which describes the Box, for use
by Association boxes and perhaps others.
|
protected String |
getSelfPropName()
Returns the name of the Box.
|
boolean |
readBox()
Reads the box, saving the label text.
|
addAssociation, boxMaker, emptyBox, finalizeBytesRead, getBytesRead, getLength, init, initBytesRead, makeAssocProperty, selfDescProperty, setBoxHeader, setDataInputStream, setModule, setRandomAccessFile, setRepInfo, skipBox, wrongBoxContext, wrongBoxSizegetFilePos, hasNext, next, remove, superboxOverrun, superboxUnderrunclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic LabelBox(RandomAccessFile raf, BoxHolder parent)
parent - parent superbox of this boxpublic boolean readBox()
throws IOException
readBox is called.
readBox must completely consume the
box, so that the next byte to be read by the
DataInputStream is the FF byte of the next Box.readBox in class JP2BoxIOExceptionprotected String getLabel()
readBox() has been called.protected Property getSelfPropDesc()
getSelfPropDesc in class JP2Boxprotected String getSelfPropName()
getSelfPropName in class JP2BoxCopyright © 2008–2017 The Open Preservation Foundation. All rights reserved.