_bytesRead, associations, DESCRIPTION_NAME, startBytesRead_boxHeader, _dstrm, _module, _parentBox, _raf, _repInfo, bytesLeft, filePos, hasBoxes| Constructor and Description |
|---|
CompositionBox(RandomAccessFile raf,
BoxHolder parent)
Constructor with superbox.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addInstSet(Property p)
Add an instruction set property to the list.
|
boolean |
readBox()
Reads the box, putting appropriate information in
the RepInfo object.
|
protected void |
setHeight(long h)
Set the height value.
|
protected void |
setLoop(int l)
Set the loop value.
|
protected void |
setWidth(long w)
Set the height value.
|
addAssociation, boxMaker, emptyBox, finalizeBytesRead, getBytesRead, getLength, getSelfPropDesc, getSelfPropName, 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 CompositionBox(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 void addInstSet(Property p)
protected void setHeight(long h)
protected void setWidth(long w)
protected void setLoop(int l)
Copyright © 2008–2021 The Open Preservation Foundation. All rights reserved.