edu.harvard.hul.ois.jhove.module.jpeg2000
Class SIZMarkerSegment
java.lang.Object
   edu.harvard.hul.ois.jhove.module.jpeg2000.MarkerSegment
edu.harvard.hul.ois.jhove.module.jpeg2000.MarkerSegment
       edu.harvard.hul.ois.jhove.module.jpeg2000.SIZMarkerSegment
edu.harvard.hul.ois.jhove.module.jpeg2000.SIZMarkerSegment
- public class SIZMarkerSegment 
- extends MarkerSegment
Class for the SIZ marker segment.  This is a mandatory marker
 in the main header, and provides information about the
 uncompressed image such as the width and height of the
 reference grid, the width and height of the tiles, the number
 of components, component bit depth, and the separation of
 component samples with respect to the reference grid.
- Author:
- Gary McGath
 
| Fields inherited from class edu.harvard.hul.ois.jhove.module.jpeg2000.MarkerSegment | 
| _ccs, _cs, _dstream, _module, _repInfo, COC, COD, COM, CRG, EOC, EPH, PLM, PLT, POC, PPM, PPT, QCC, QCD, RGN, SIZ, SOC, SOD, SOP, SOT, TLM | 
 
 
| Method Summary | 
| protected  boolean | process(int bytesToEat)Process the marker segment.
 | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
SIZMarkerSegment
public SIZMarkerSegment()
process
protected boolean process(int bytesToEat)
                   throws java.io.IOException
- Process the marker segment.  The DataInputStream
  will be at the point of having read the marker code.  The
  processmethod must consume exactly the number
  of bytes remaining in the marker segment.
 
- 
- Specified by:
- processin class- MarkerSegment
 
- 
- Parameters:
- bytesToEat- The number of bytes that must be consumed.
                         If it is 0 for a MarkerSegment, the
                         number of bytes to consume is unknown.
- Returns:
- trueif segment is well-formed,- falseotherwise.
- Throws:
- java.io.IOException