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 TypeMethodDescriptionvoid
dump
(PrintWriter pw) abstract String
Gets the description.Gets the type.toString()
Methods inherited from class org.apache.commons.imaging.common.BinaryFileParser
debugNumber, debugNumber, getByteOrder, setByteOrder
-
Field Details
-
marker
Segment marker. -
length
Segment length.
-
-
Constructor Details
-
AbstractSegment
Constructs a new instance.- Parameters:
marker
- segment marker.length
- segment length.
-
-
Method Details