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 and Description
    --- | ---
    `static interface` | `JpegUtils.Visitor`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `JpegUtils()`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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 Detail

    - #### JpegUtils

          public JpegUtils()

  - ### Method Detail

    - #### traverseJFIF

          public void traverseJFIF(ByteSource byteSource,
                                   JpegUtils.Visitor visitor)
                            throws ImageReadException,
                                   IOException

      Throws:
        `ImageReadException`
        `IOException`

    - #### getMarkerName

          public static String getMarkerName(int marker)

    - #### dumpJFIF

          public void dumpJFIF(ByteSource byteSource)
                        throws ImageReadException,
                               IOException

      Throws:
        `ImageReadException`
        `IOException`

Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.