Class App2Segment
java.lang.Object
org.apache.commons.imaging.common.BinaryFileParser
org.apache.commons.imaging.formats.jpeg.segments.Segment
org.apache.commons.imaging.formats.jpeg.segments.GenericSegment
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 int
private final byte[]
final int
-
Constructor Summary
ConstructorsConstructorDescriptionApp2Segment
(int marker, byte[] segmentData) App2Segment
(int marker, int markerLength, InputStream is2) -
Method Summary
Methods inherited from class org.apache.commons.imaging.formats.jpeg.segments.AppnSegment
getDescription
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.Segment
getSegmentType, toString
Methods inherited from class org.apache.commons.imaging.common.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:
ImageReadException
IOException
-
App2Segment
public App2Segment(int marker, int markerLength, InputStream is2) throws ImageReadException, IOException - Throws:
ImageReadException
IOException
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<App2Segment>
-
getIccBytes
public byte[] getIccBytes()- Returns:
- the iccBytes
-