Class ComSegment
java.lang.Object
org.apache.commons.imaging.common.BinaryFileParser
org.apache.commons.imaging.formats.jpeg.segments.AbstractSegment
org.apache.commons.imaging.formats.jpeg.segments.GenericSegment
org.apache.commons.imaging.formats.jpeg.segments.ComSegment
-
Field Summary
Fields inherited from class org.apache.commons.imaging.formats.jpeg.segments.AbstractSegment
length, marker
-
Constructor Summary
ConstructorDescriptionComSegment
(int marker, byte[] segmentData) ComSegment
(int marker, int markerLength, InputStream is) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
Returns a copy of the comment.Methods inherited from class org.apache.commons.imaging.formats.jpeg.segments.GenericSegment
dump, dump, getSegmentData, getSegmentData, getSegmentDataAsString
Methods inherited from class org.apache.commons.imaging.formats.jpeg.segments.AbstractSegment
getSegmentType, toString
Methods inherited from class org.apache.commons.imaging.common.BinaryFileParser
debugNumber, debugNumber, getByteOrder, setByteOrder
-
Constructor Details
-
ComSegment
-
ComSegment
- Throws:
IOException
-
-
Method Details
-
getComment
Returns a copy of the comment.- Returns:
- a copy of the comment's bytes
-
getDescription
- Specified by:
getDescription
in classAbstractSegment
-