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

# Class AppnSegment

java.lang.Object
org.apache.commons.imaging.common.BinaryFileParser
org.apache.commons.imaging.formats.jpeg.segments.AbstractSegment
org.apache.commons.imaging.formats.jpeg.segments.AbstractGenericSegment
org.apache.commons.imaging.formats.jpeg.segments.AppnSegment

Direct Known Subclasses:
  `App13Segment`, `App14Segment`, `App2Segment`

public class AppnSegment extends AbstractGenericSegment

- ## Field Summary

  ### Fields inherited from class org.apache.commons.imaging.formats.jpeg.segments.AbstractSegment

  `length, marker`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AppnSegment(int marker, int markerLength, InputStream is)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getDescription()`
  Gets the description.

  ### Methods inherited from class org.apache.commons.imaging.formats.jpeg.segments.AbstractGenericSegment

  `dump, dump, getSegmentData, getSegmentData, getSegmentDataAsString`

  ### Methods inherited from class org.apache.commons.imaging.formats.jpeg.segments.AbstractSegment

  `getSegmentType, toString`

  ### 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, wait, wait, wait`

- ## Constructor Details

  - ### AppnSegment

    public AppnSegment(int marker, int markerLength, InputStream is) throws IOException
    Throws:
      `IOException`

- ## Method Details

  - ### getDescription

    public String getDescription()
    Description copied from class: `AbstractSegment`
    Gets the description.
    Specified by:
      `getDescription` in class `AbstractSegment`
    Returns:
      the description.