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()` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    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 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`