|
|||||||||
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.MarkerSegment
edu.harvard.hul.ois.jhove.module.jpeg2000.COCMarkerSegment
public class COCMarkerSegment
Class for the COC (Coding style component) marker segment. May occur in the main or the tile part header. In the main header it overrides the COD for the specified component. In the tile part header it overrides the COD for the component in the tile part.
Field Summary |
---|
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 |
Constructor Summary | |
---|---|
COCMarkerSegment()
Constructor. |
Method Summary | |
---|---|
protected boolean |
process(int bytesToEat)
Process the marker segment. |
Methods inherited from class edu.harvard.hul.ois.jhove.module.jpeg2000.MarkerSegment |
---|
getMainOrTile, isMarker, markerSegmentMaker, nCompBytes, readMarkLen, setCodestream, setContCodestream, setDataInputStream, setModule, setRepInfo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public COCMarkerSegment()
Method Detail |
---|
protected boolean process(int bytesToEat) throws java.io.IOException
process
method must consume exactly the number
of bytes remaining in the marker segment.
process
in class MarkerSegment
bytesToEat
- The number of bytes that must be consumed.
If it is 0 for a MarkerSegment, the
number of bytes to consume is unknown.
true
if segment is well-formed,
false
otherwise.
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |