Package com.drew.metadata
Class ErrorDirectory
java.lang.Object
com.drew.metadata.Directory
com.drew.metadata.ErrorDirectory
A directory to use for the reporting of errors. No values may be added to this directory, only warnings and errors.
-
Field Summary
Fields inherited from class com.drew.metadata.Directory
_definedTagList, _descriptor, _tagMap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Provides the name of the directory, for display purposes.getTagName(int tagType) Returns the name of a specified tag as a String.Provides the map of tag names, hashed by tag type identifier.booleanhasTagName(int tagType) Gets whether the specified tag is known by the directory and has a name.voidSets aObjectfor the specified tag.Methods inherited from class com.drew.metadata.Directory
addError, containsTag, getBoolean, getBooleanObject, getByteArray, getDate, getDate, getDate, getDescription, getDouble, getDoubleObject, getErrorCount, getErrors, getFloat, getFloatObject, getInt, getIntArray, getInteger, getLong, getLongObject, getObject, getParent, getRational, getRationalArray, getString, getString, getStringArray, getStringValue, getStringValueArray, getTagCount, getTags, hasErrors, isEmpty, setBoolean, setByteArray, setDate, setDescriptor, setDouble, setDoubleArray, setFloat, setFloatArray, setInt, setIntArray, setLong, setObjectArray, setParent, setRational, setRationalArray, setString, setStringArray, setStringValue, setStringValueArray, toString
-
Constructor Details
-
ErrorDirectory
public ErrorDirectory() -
ErrorDirectory
-
-
Method Details
-
getName
Description copied from class:DirectoryProvides the name of the directory, for display purposes. E.g.Exif -
getTagNameMap
Description copied from class:DirectoryProvides the map of tag names, hashed by tag type identifier.- Specified by:
getTagNameMapin classDirectory- Returns:
- the map of tag names
-
getTagName
Description copied from class:DirectoryReturns the name of a specified tag as a String.- Overrides:
getTagNamein classDirectory- Parameters:
tagType- the tag type identifier- Returns:
- the tag's name as a String
-
hasTagName
public boolean hasTagName(int tagType) Description copied from class:DirectoryGets whether the specified tag is known by the directory and has a name.- Overrides:
hasTagNamein classDirectory- Parameters:
tagType- the tag type identifier- Returns:
- whether this directory has a name for the specified tag
-
setObject
Description copied from class:DirectorySets aObjectfor the specified tag.
-