public class ComposLayerHdrBox extends JP2Box
_bytesRead, associations, DESCRIPTION_NAME, noJP2Hdr, startBytesRead
_boxHeader, _dstrm, _module, _parentBox, _raf, _repInfo, bytesLeft, filePos, hasBoxes
Constructor and Description |
---|
ComposLayerHdrBox(java.io.RandomAccessFile raf,
BoxHolder parent)
Constructor with superbox.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addChannelDef(Property p)
Add channel definition property.
|
protected void |
addCodestreamReg(Property p)
Add codestream registration property.
|
protected void |
addColorSpec(Property p)
Add a color specification property.
|
protected void |
addOpacity(Property p)
Add an opacity property.
|
protected java.lang.String |
getSelfPropName()
Returns the name of the Box.
|
boolean |
readBox()
Reads the box, putting appropriate information in
the RepInfo object.
|
addAssociation, boxMaker, emptyBox, finalizeBytesRead, getBytesRead, getLength, getSelfPropDesc, init, initBytesRead, makeAssocProperty, selfDescProperty, setBoxHeader, setDataInputStream, setModule, setRandomAccessFile, setRepInfo, skipBox, wrongBoxContext, wrongBoxSize
getFilePos, hasNext, next, remove, superboxOverrun, superboxUnderrun
public ComposLayerHdrBox(java.io.RandomAccessFile raf, BoxHolder parent)
parent
- parent superbox of this boxpublic boolean readBox() throws java.io.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.protected void addColorSpec(Property p)
protected void addOpacity(Property p)
protected void addChannelDef(Property p)
protected void addCodestreamReg(Property p)
protected java.lang.String getSelfPropName()
getSelfPropName
in class JP2Box