Type | Property and Description |
---|---|
protected Property |
selfDesc
Returns a Property which describes the Box, for use
by Association boxes and perhaps others.
|
makeAssocProperty
_bytesRead, associations, DESCRIPTION_NAME, noJP2Hdr, startBytesRead
_boxHeader, _dstrm, _module, _parentBox, _raf, _repInfo, bytesLeft, filePos, hasBoxes
Constructor and Description |
---|
AssociationBox(RandomAccessFile raf,
BoxHolder parent)
Constructor with superbox.
|
Modifier and Type | Method and Description |
---|---|
protected String |
getSelfPropName()
Returns the name of the Box.
|
boolean |
readBox()
Reads the box, putting appropriate information in
the RepInfo object.
|
protected Property |
selfDescProperty()
Returns a Property which describes the Box, for use
by Association boxes and perhaps others.
|
addAssociation, boxMaker, emptyBox, finalizeBytesRead, getBytesRead, getLength, getSelfPropDesc, init, initBytesRead, makeAssocProperty, setBoxHeader, setDataInputStream, setModule, setRandomAccessFile, setRepInfo, skipBox, wrongBoxContext, wrongBoxSize
getFilePos, hasNext, next, remove, superboxOverrun, superboxUnderrun
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
protected Property selfDescProperty
selfDescProperty
in class JP2Box
public AssociationBox(RandomAccessFile raf, BoxHolder parent)
parent
- parent superbox of this box
or TopLevelBoxHolderpublic 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 JP2Box
IOException
protected Property selfDescProperty()
selfDescProperty
in class JP2Box
protected String getSelfPropName()
getSelfPropName
in class JP2Box
Copyright © 2008–2017 The Open Preservation Foundation. All rights reserved.