Class JfifSegment
java.lang.Object
org.apache.commons.imaging.common.BinaryFileParser
org.apache.commons.imaging.formats.jpeg.segments.AbstractSegment
org.apache.commons.imaging.formats.jpeg.segments.JfifSegment
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal intfinal intfinal intfinal intfinal intfinal intfinal intfinal intFields inherited from class AbstractSegment
length, marker -
Constructor Summary
ConstructorsConstructorDescriptionJfifSegment(int marker, byte[] segmentData) JfifSegment(int marker, int markerLength, InputStream is) -
Method Summary
Methods inherited from class AbstractSegment
dump, getSegmentType, toStringMethods inherited from class BinaryFileParser
debugNumber, debugNumber, getByteOrder, setByteOrder
-
Field Details
-
jfifMajorVersion
public final int jfifMajorVersion -
jfifMinorVersion
public final int jfifMinorVersion -
densityUnits
public final int densityUnits -
xDensity
public final int xDensity -
yDensity
public final int yDensity -
xThumbnail
public final int xThumbnail -
yThumbnail
public final int yThumbnail -
thumbnailSize
public final int thumbnailSize
-
-
Constructor Details
-
JfifSegment
- Throws:
ImagingExceptionIOException
-
JfifSegment
public JfifSegment(int marker, int markerLength, InputStream is) throws ImagingException, IOException - Throws:
ImagingExceptionIOException
-
-
Method Details
-
getDescription
Description copied from class:AbstractSegmentGets the description.- Specified by:
getDescriptionin classAbstractSegment- Returns:
- the description.
-