edu.harvard.hul.ois.jhove.module.jpeg2000
Class FragmentListBox
java.lang.Object
   edu.harvard.hul.ois.jhove.module.jpeg2000.BoxHolder
edu.harvard.hul.ois.jhove.module.jpeg2000.BoxHolder
       edu.harvard.hul.ois.jhove.module.jpeg2000.JP2Box
edu.harvard.hul.ois.jhove.module.jpeg2000.JP2Box
           edu.harvard.hul.ois.jhove.module.jpeg2000.FragmentListBox
edu.harvard.hul.ois.jhove.module.jpeg2000.FragmentListBox
- All Implemented Interfaces: 
- java.util.Iterator<java.lang.Object>
- public class FragmentListBox 
- extends JP2Box
Fragment List Box (JPX).
 Subbox of Fragment Table box or Cross-Reference box.
 See L.9.6.1 in ISO/IEC FCD15444-2:2000.
- Author:
- Gary McGath
 
 
 
 
| Method Summary | 
| protected  java.util.List | getFragmentList()Returns the fragment list.
 | 
| protected  java.lang.String | getSelfPropName()Returns the name of the Box.
 | 
|  boolean | readBox()Reads the box, putting appropriate information in
  the RepInfo object.
 | 
 
| Methods inherited from class edu.harvard.hul.ois.jhove.module.jpeg2000.JP2Box | 
| addAssociation, boxMaker, emptyBox, finalizeBytesRead, getBytesRead, getLength, getSelfPropDesc, init, initBytesRead, makeAssocProperty, selfDescProperty, setBoxHeader, setDataInputStream, setModule, setRandomAccessFile, setRepInfo, skipBox, wrongBoxContext, wrongBoxSize | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
FragmentListBox
public FragmentListBox(java.io.RandomAccessFile raf,
                       BoxHolder parent)
- Constructor with superbox.
 
- Parameters:
- parent- parent superbox of this box.
                    The parent may be a FragmentTableBox
                    or a CrossReferenceBox.
 
readBox
public boolean readBox()
                throws java.io.IOException
- Reads the box, putting appropriate information in
  the RepInfo object.  setModule, setBoxHeader,
  setRepInfo and setDataInputStream must be called
  before readBoxis called.readBoxmust completely consume the
  box, so that the next byte to be read by the
  DataInputStream is theFFbyte of the next Box.
 
- 
- Specified by:
- readBoxin class- JP2Box
 
- 
- Throws:
- java.io.IOException
 
getFragmentList
protected java.util.List getFragmentList()
- Returns the fragment list.  If there are external references
  to fragments, returns null; in this case, a warning message
  has been added to the RepInfo object.
 
- 
 
getSelfPropName
protected java.lang.String getSelfPropName()
- Returns the name of the Box.
 
- 
- Overrides:
- getSelfPropNamein class- JP2Box
 
-