Class App2Segment
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.AppnSegment
org.apache.commons.imaging.formats.jpeg.segments.App2Segment
- All Implemented Interfaces:
Comparable<App2Segment>
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal intprivate final byte[]final intFields inherited from class AbstractSegment
length, marker -
Constructor Summary
ConstructorsConstructorDescriptionApp2Segment(int marker, byte[] segmentData) App2Segment(int marker, int markerLength, InputStream is2) -
Method Summary
Methods inherited from class AppnSegment
getDescriptionMethods inherited from class AbstractGenericSegment
dump, dump, getSegmentData, getSegmentData, getSegmentDataAsStringMethods inherited from class AbstractSegment
getSegmentType, toStringMethods inherited from class BinaryFileParser
debugNumber, debugNumber, getByteOrder, setByteOrder
-
Field Details
-
iccBytes
private final byte[] iccBytes -
curMarker
public final int curMarker -
numMarkers
public final int numMarkers
-
-
Constructor Details
-
App2Segment
- Throws:
ImagingExceptionIOException
-
App2Segment
public App2Segment(int marker, int markerLength, InputStream is2) throws ImagingException, IOException - Throws:
ImagingExceptionIOException
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<App2Segment>
-
equals
-
getIccBytes
public byte[] getIccBytes()- Returns:
- the iccBytes
-
hashCode
-