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
-
public final class JfifSegment extends AbstractSegment
-
-
Field Summary
Fields Modifier and Type Field Description intdensityUnitsintjfifMajorVersionintjfifMinorVersionintthumbnailSizeintxDensityintxThumbnailintyDensityintyThumbnail-
Fields inherited from class org.apache.commons.imaging.formats.jpeg.segments.AbstractSegment
length, marker
-
-
Constructor Summary
Constructors Constructor Description JfifSegment(int marker, byte[] segmentData)JfifSegment(int marker, int markerLength, java.io.InputStream is)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()Gets the description.-
Methods inherited from class org.apache.commons.imaging.formats.jpeg.segments.AbstractSegment
dump, getSegmentType, toString
-
Methods inherited from class org.apache.commons.imaging.common.BinaryFileParser
debugNumber, debugNumber, getByteOrder, setByteOrder
-
-
-
-
Field Detail
-
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 Detail
-
JfifSegment
public JfifSegment(int marker, byte[] segmentData) throws ImagingException, java.io.IOException- Throws:
ImagingExceptionjava.io.IOException
-
JfifSegment
public JfifSegment(int marker, int markerLength, java.io.InputStream is) throws ImagingException, java.io.IOException- Throws:
ImagingExceptionjava.io.IOException
-
-
Method Detail
-
getDescription
public java.lang.String getDescription()
Description copied from class:AbstractSegmentGets the description.- Specified by:
getDescriptionin classAbstractSegment- Returns:
- the description.
-
-