Class JpegUtils
- java.lang.Object
-
- org.apache.commons.imaging.common.BinaryFileParser
-
- org.apache.commons.imaging.formats.jpeg.JpegUtils
-
public class JpegUtils extends BinaryFileParser
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceJpegUtils.Visitor
-
Constructor Summary
Constructors Constructor Description JpegUtils()Constructs a new instance with the default, big-endian, byte order.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddumpJfif(ByteSource byteSource)static java.lang.StringgetMarkerName(int marker)voidtraverseJfif(ByteSource byteSource, JpegUtils.Visitor visitor)-
Methods inherited from class org.apache.commons.imaging.common.BinaryFileParser
debugNumber, debugNumber, getByteOrder, setByteOrder
-
-
-
-
Method Detail
-
getMarkerName
public static java.lang.String getMarkerName(int marker)
-
dumpJfif
public void dumpJfif(ByteSource byteSource) throws ImagingException, java.io.IOException
- Throws:
ImagingExceptionjava.io.IOException
-
traverseJfif
public void traverseJfif(ByteSource byteSource, JpegUtils.Visitor visitor) throws ImagingException, java.io.IOException
- Throws:
ImagingExceptionjava.io.IOException
-
-