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, setRepInfo
protected int readMarkLen() throws IOException
readMarkLen
in class MarkerSegment
IOException
protected boolean process(int bytesToEat)
process
in class MarkerSegment
bytesToEat
- 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.Copyright © 2008–2017 The Open Preservation Foundation. All rights reserved.