public class BinaryFilterBox extends JP2Box
_bytesRead, associations, DESCRIPTION_NAME, noJP2Hdr, startBytesRead
_boxHeader, _dstrm, _module, _parentBox, _raf, _repInfo, bytesLeft, filePos, hasBoxes
Constructor and Description |
---|
BinaryFilterBox(java.io.RandomAccessFile raf,
JP2Box parent)
Constructor with superbox.
|
Modifier and Type | Method and Description |
---|---|
java.io.DataInputStream |
getBoxStream()
returns the InputStream which will provide the decompressed
boxes subsumed in this Box.
|
protected java.lang.String |
getSelfPropName()
Returns the name of the Box.
|
java.lang.Object |
next() |
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, remove, superboxOverrun, superboxUnderrun
public BinaryFilterBox(java.io.RandomAccessFile raf, JP2Box parent)
parent
- parent superbox of this box
or TopLevelBoxHolderpublic 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.public java.lang.Object next()
public java.io.DataInputStream getBoxStream()
protected java.lang.String getSelfPropName()
getSelfPropName
in class JP2Box