com.drew.metadata.jpeg
Class JpegCommentDirectory

java.lang.Object
  extended by com.drew.metadata.Directory
      extended by com.drew.metadata.jpeg.JpegCommentDirectory
All Implemented Interfaces:
Serializable

public class JpegCommentDirectory
extends Directory

Describes tags used by a JPEG file comment.

See Also:
Serialized Form

Field Summary
static int TAG_JPEG_COMMENT
          This value does not apply to a particular standard.
protected static HashMap tagNameMap
           
 
Fields inherited from class com.drew.metadata.Directory
_definedTagList, _descriptor, _tagMap
 
Constructor Summary
JpegCommentDirectory()
           
 
Method Summary
 String getName()
          Provides the name of the directory, for display purposes.
protected  HashMap getTagNameMap()
          Provides the map of tag names, hashed by tag type identifier.
 
Methods inherited from class com.drew.metadata.Directory
addError, containsTag, getBoolean, getByteArray, getDate, getDescription, getDouble, getErrorCount, getErrors, getFloat, getInt, getIntArray, getLong, getObject, getRational, getRationalArray, getString, getStringArray, getTagCount, getTagIterator, getTagName, hasErrors, setBoolean, setByteArray, setDate, setDescriptor, setDouble, setFloat, setInt, setIntArray, setLong, setObject, setObjectArray, setRational, setRationalArray, setString, setStringArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TAG_JPEG_COMMENT

public static final int TAG_JPEG_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:
Constant Field Values

tagNameMap

protected static final HashMap tagNameMap
Constructor Detail

JpegCommentDirectory

public JpegCommentDirectory()
Method Detail

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 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