Class AbstractSegment
java.lang.Object
org.apache.commons.imaging.common.BinaryFileParser
org.apache.commons.imaging.formats.jpeg.segments.AbstractSegment
- Direct Known Subclasses:
AbstractGenericSegment, DhtSegment, DqtSegment, JfifSegment, SofnSegment, SosSegment
Abstracts segment implementations.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddump(PrintWriter pw) abstract StringGets the description.Gets the type.toString()Methods inherited from class BinaryFileParser
debugNumber, debugNumber, getByteOrder, setByteOrder
-
Field Details
-
marker
public final int markerSegment marker. -
length
public final int lengthSegment length.
-
-
Constructor Details
-
AbstractSegment
public AbstractSegment(int marker, int length) Constructs a new instance.- Parameters:
marker- segment marker.length- segment length.
-
-
Method Details
-
dump
-
getDescription
-
getSegmentType
-
toString
-