com.drew.metadata.xmp
Class XmpDirectory
java.lang.Object
com.drew.metadata.Directory
com.drew.metadata.xmp.XmpDirectory
public class XmpDirectory
- extends Directory
- Author:
- Torsten Skadell, Drew Noakes http://drewnoakes.com
| Methods inherited from class com.drew.metadata.Directory |
addError, containsTag, getBoolean, getBooleanObject, getByteArray, getDate, getDate, getDescription, getDouble, getDoubleObject, getErrorCount, getErrors, getFloat, getFloatObject, getInt, getIntArray, getInteger, getLong, getLongObject, getObject, getRational, getRationalArray, getString, getString, getStringArray, getTagCount, getTagName, getTags, hasErrors, setBoolean, setByteArray, setDate, setDescriptor, setDouble, setDoubleArray, setFloat, setFloatArray, 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_MAKE
public static final int TAG_MAKE
- See Also:
- Constant Field Values
TAG_MODEL
public static final int TAG_MODEL
- See Also:
- Constant Field Values
TAG_EXPOSURE_TIME
public static final int TAG_EXPOSURE_TIME
- See Also:
- Constant Field Values
TAG_SHUTTER_SPEED
public static final int TAG_SHUTTER_SPEED
- See Also:
- Constant Field Values
TAG_F_NUMBER
public static final int TAG_F_NUMBER
- See Also:
- Constant Field Values
TAG_LENS_INFO
public static final int TAG_LENS_INFO
- See Also:
- Constant Field Values
TAG_LENS
public static final int TAG_LENS
- See Also:
- Constant Field Values
TAG_CAMERA_SERIAL_NUMBER
public static final int TAG_CAMERA_SERIAL_NUMBER
- See Also:
- Constant Field Values
TAG_FIRMWARE
public static final int TAG_FIRMWARE
- See Also:
- Constant Field Values
TAG_FOCAL_LENGTH
public static final int TAG_FOCAL_LENGTH
- See Also:
- Constant Field Values
TAG_APERTURE_VALUE
public static final int TAG_APERTURE_VALUE
- See Also:
- Constant Field Values
TAG_EXPOSURE_PROGRAM
public static final int TAG_EXPOSURE_PROGRAM
- See Also:
- Constant Field Values
TAG_DATETIME_ORIGINAL
public static final int TAG_DATETIME_ORIGINAL
- See Also:
- Constant Field Values
TAG_DATETIME_DIGITIZED
public static final int TAG_DATETIME_DIGITIZED
- See Also:
- Constant Field Values
_tagNameMap
protected static final HashMap<Integer,String> _tagNameMap
XmpDirectory
public XmpDirectory()
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
getXmpProperties
public Map<String,String> getXmpProperties()
- Gets a map of all XMP properties in this directory, not just the known ones.
This is required because XMP properties are represented as strings, whereas the rest of this library
uses integers for keys.
setXMPMeta
public void setXMPMeta(com.adobe.xmp.XMPMeta xmpMeta)
getXMPMeta
public com.adobe.xmp.XMPMeta getXMPMeta()
- Gets the XMPMeta object used to populate this directory. It can be used for more XMP-oriented operations.
Copyright © 2012. All Rights Reserved.