public class TopLevelBoxHolder extends BoxHolder
_boxHeader, _dstrm, _module, _parentBox, _raf, _repInfo, bytesLeft, filePos, hasBoxes
Constructor and Description |
---|
TopLevelBoxHolder(Jpeg2000Module module,
java.io.RandomAccessFile raf,
RepInfo info,
java.io.DataInputStream dstream) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getSelfPropName()
Returns a name for use in messages.
|
boolean |
hasNext()
Checks if any more subboxes are available.
|
getFilePos, next, remove, superboxOverrun, superboxUnderrun
public TopLevelBoxHolder(Jpeg2000Module module, java.io.RandomAccessFile raf, RepInfo info, java.io.DataInputStream dstream)
raf
- protected java.lang.String getSelfPropName()
getSelfPropName
in class BoxHolder
public boolean hasNext()
BoxHolder
hasNext
to avoid reading overruns, and then
test the value returned by next
for nullity.