public class Marker extends MarkerSegment
| Constructor and Description |
|---|
Marker() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
process(int bytesToEat)
Default processing.
|
protected int |
readMarkLen()
Overrides the superclass to return 0 without consuming
any bytes from the DataInputStream.
|
getMainOrTile, isMarker, markerSegmentMaker, nCompBytes, setCodestream, setContCodestream, setDataInputStream, setModule, setRepInfoprotected int readMarkLen()
throws java.io.IOException
readMarkLen in class MarkerSegmentjava.io.IOExceptionprotected boolean process(int bytesToEat)
process in class MarkerSegmentbytesToEat - The number of bytes that must be consumed.
For a Marker, this number will always be 0.
If it is 0 for a MarkerSegment, the
number of bytes to consume is unknown.true if segment is well-formed,
false otherwise.