Class JpegCommentDirectory

java.lang.Object
com.drew.metadata.Directory
com.drew.metadata.jpeg.JpegCommentDirectory

public class JpegCommentDirectory extends Directory
Describes tags used by a JPEG file comment.
  • Field Details

    • TAG_COMMENT

      public static final int TAG_COMMENT
      This value does not apply to a particular standard. Rather, this value has been fabricated to maintain consistency with other directory types.
      See Also:
    • _tagNameMap

      private static final HashMap<Integer,String> _tagNameMap
  • Constructor Details

    • JpegCommentDirectory

      public JpegCommentDirectory()
  • Method Details

    • getName

      public String getName()
      Description copied from class: Directory
      Provides the name of the directory, for display purposes. E.g. Exif
      Specified by:
      getName in class Directory
      Returns:
      the name of the directory
    • getTagNameMap

      protected HashMap<Integer,String> getTagNameMap()
      Description copied from class: Directory
      Provides the map of tag names, hashed by tag type identifier.
      Specified by:
      getTagNameMap in class Directory
      Returns:
      the map of tag names