| Modifier and Type | Field and Description |
|---|---|
protected BoxHeader |
_boxHeader |
protected DataInputStream |
_dstrm |
protected Jpeg2000Module |
_module |
protected JP2Box |
_parentBox |
protected RandomAccessFile |
_raf |
protected RepInfo |
_repInfo |
protected long |
bytesLeft |
protected long |
filePos |
protected boolean |
hasBoxes |
| Constructor and Description |
|---|
BoxHolder(RandomAccessFile raf)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected long |
getFilePos()
Returns the file position.
|
protected String |
getSelfPropName()
Returns the name of the BoxHolder.
|
boolean |
hasNext()
Checks if any more subboxes are available.
|
Object |
next() |
void |
remove()
Always throws UnsupportedOperationException.
|
protected void |
superboxOverrun()
Utility error reporting function for a subbox overrunning
its superbox.
|
protected void |
superboxUnderrun()
Utility error reporting function for a subbox underrunning
its superbox.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingprotected Jpeg2000Module _module
protected JP2Box _parentBox
protected RandomAccessFile _raf
protected DataInputStream _dstrm
protected BoxHeader _boxHeader
protected RepInfo _repInfo
protected long bytesLeft
protected long filePos
protected boolean hasBoxes
public BoxHolder(RandomAccessFile raf)
protected long getFilePos()
public boolean hasNext()
hasNext to avoid reading overruns, and then
test the value returned by next for nullity.public void remove()
throws UnsupportedOperationException
remove in interface Iterator<Object>UnsupportedOperationExceptionprotected void superboxOverrun()
false.protected void superboxUnderrun()
false.protected String getSelfPropName()
Copyright © 2008–2021 The Open Preservation Foundation. All rights reserved.