Package org.apache.commons.imaging.formats.jpeg

# 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 interface`
  `JpegUtils.Visitor`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `JpegUtils()`
  Constructs a new instance with the default, big-endian, byte order.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `dumpJfif(ByteSource byteSource)`
  `static String`
  `getMarkerName(int marker)`
  `void`
  `traverseJfif(ByteSource byteSource, JpegUtils.Visitor visitor)`

  ### Methods inherited from class org.apache.commons.imaging.common.BinaryFileParser

  `debugNumber, debugNumber, getByteOrder, setByteOrder`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### JpegUtils

    public JpegUtils()
    Constructs a new instance with the default, big-endian, byte order.

- ## Method Details

  - ### getMarkerName

    public static String getMarkerName(int marker)

  - ### dumpJfif

    public void dumpJfif(ByteSource byteSource) throws ImagingException, IOException
    Throws:
      `ImagingException`
      `IOException`

  - ### traverseJfif

    public void traverseJfif(ByteSource byteSource, JpegUtils.Visitor visitor) throws ImagingException, IOException
    Throws:
      `ImagingException`
      `IOException`