|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.harvard.hul.ois.jhove.module.jpeg2000.BoxHolder
edu.harvard.hul.ois.jhove.module.jpeg2000.JP2Box
edu.harvard.hul.ois.jhove.module.jpeg2000.CompositionBox
public class CompositionBox
Composition Box (JPX). See ISO/IEC FCD15444-2: 2000, L.9.10
Field Summary |
---|
Fields inherited from class edu.harvard.hul.ois.jhove.module.jpeg2000.JP2Box |
---|
_bytesRead, associations, DESCRIPTION_NAME, noJP2Hdr, startBytesRead |
Fields inherited from class edu.harvard.hul.ois.jhove.module.jpeg2000.BoxHolder |
---|
_boxHeader, _dstrm, _module, _parentBox, _raf, _repInfo, bytesLeft, filePos, hasBoxes |
Constructor Summary | |
---|---|
CompositionBox(java.io.RandomAccessFile raf,
BoxHolder parent)
Constructor with superbox. |
Method Summary | |
---|---|
protected void |
addInstSet(Property p)
Add an instruction set property to the list. |
boolean |
readBox()
Reads the box, putting appropriate information in the RepInfo object. |
protected void |
setHeight(long h)
Set the height value. |
protected void |
setLoop(int l)
Set the loop value. |
protected void |
setWidth(long w)
Set the height value. |
Methods inherited from class edu.harvard.hul.ois.jhove.module.jpeg2000.JP2Box |
---|
addAssociation, boxMaker, emptyBox, finalizeBytesRead, getBytesRead, getLength, getSelfPropDesc, getSelfPropName, init, initBytesRead, makeAssocProperty, selfDescProperty, setBoxHeader, setDataInputStream, setModule, setRandomAccessFile, setRepInfo, skipBox, wrongBoxContext, wrongBoxSize |
Methods inherited from class edu.harvard.hul.ois.jhove.module.jpeg2000.BoxHolder |
---|
getFilePos, hasNext, 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 CompositionBox(java.io.RandomAccessFile raf, BoxHolder parent)
parent
- parent superbox of this boxMethod Detail |
---|
public 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.
readBox
in class JP2Box
java.io.IOException
protected void addInstSet(Property p)
protected void setHeight(long h)
protected void setWidth(long w)
protected void setLoop(int l)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |