|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.harvard.hul.ois.jhove.module.jpeg2000.BoxHolder | +--edu.harvard.hul.ois.jhove.module.jpeg2000.TopLevelBoxHolder
A subclass of BoxHolder specifically for getting top-level boxes in a JPEG 2000 file.
Field Summary |
Fields inherited from class edu.harvard.hul.ois.jhove.module.jpeg2000.BoxHolder |
_boxHeader, _dstrm, _module, _parentBox, _raf, _repInfo, bytesLeft, filePos, hasBoxes |
Constructor Summary | |
TopLevelBoxHolder(Jpeg2000Module module,
java.io.RandomAccessFile raf,
RepInfo info,
java.io.DataInputStream dstream)
|
Method Summary | |
protected java.lang.String |
getSelfPropName()
Returns a name for use in messages. |
boolean |
hasNext()
Checks if any more subboxes are available. |
Methods inherited from class edu.harvard.hul.ois.jhove.module.jpeg2000.BoxHolder |
getFilePos, next, remove, superboxOverrun, superboxUnderrun |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TopLevelBoxHolder(Jpeg2000Module module, java.io.RandomAccessFile raf, RepInfo info, java.io.DataInputStream dstream)
raf
- Method Detail |
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.
hasNext
in interface java.util.Iterator
hasNext
in class BoxHolder
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |