com.drew.metadata.jpeg
Class JpegCommentDirectory
java.lang.Object
com.drew.metadata.Directory
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
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 |
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
JpegCommentDirectory
public JpegCommentDirectory()
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