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.AbstractGenericSegment
org.apache.commons.imaging.formats.jpeg.segments.ComSegment
- 
Field SummaryFields inherited from class org.apache.commons.imaging.formats.jpeg.segments.AbstractSegmentlength, marker
- 
Constructor SummaryConstructorsConstructorDescriptionComSegment(int marker, byte[] segmentData) ComSegment(int marker, int markerLength, InputStream is) 
- 
Method SummaryModifier and TypeMethodDescriptionbyte[]Returns a copy of the comment.Gets the description.Methods inherited from class org.apache.commons.imaging.formats.jpeg.segments.AbstractGenericSegmentdump, dump, getSegmentData, getSegmentData, getSegmentDataAsStringMethods inherited from class org.apache.commons.imaging.formats.jpeg.segments.AbstractSegmentgetSegmentType, toStringMethods inherited from class org.apache.commons.imaging.common.BinaryFileParserdebugNumber, debugNumber, getByteOrder, setByteOrder
- 
Constructor Details- 
ComSegment
- 
ComSegment- Throws:
- IOException
 
 
- 
- 
Method Details- 
getCommentReturns a copy of the comment.- Returns:
- a copy of the comment's bytes
 
- 
getDescriptionDescription copied from class:AbstractSegmentGets the description.- Specified by:
- getDescriptionin class- AbstractSegment
- Returns:
- the description.
 
 
-