public class XmpDirectory extends Directory
XMPMeta object, which holds XMP data.
XMP uses a namespace and path format for identifying values, which does not map to metadata-extractor's
integer based tag identifiers. Therefore, XMP data is extracted and exposed via getXMPMeta()
which returns an instance of Adobe's XMPMeta which exposes the full XMP data set.| Modifier and Type | Field and Description |
|---|---|
static int |
TAG_XMP_VALUE_COUNT |
| Constructor and Description |
|---|
XmpDirectory() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Provides the name of the directory, for display purposes.
|
XMPMeta |
getXMPMeta()
Gets the XMPMeta object used to populate this directory.
|
Map<String,String> |
getXmpProperties()
Gets a map of all XMP properties in this directory.
|
void |
setXMPMeta(XMPMeta xmpMeta) |
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, getTagName, getTags, hasErrors, hasTagName, isEmpty, setBoolean, setByteArray, setDate, setDescriptor, setDouble, setDoubleArray, setFloat, setFloatArray, setInt, setIntArray, setLong, setObject, setObjectArray, setParent, setRational, setRationalArray, setString, setStringArray, setStringValue, setStringValueArray, toStringpublic static final int TAG_XMP_VALUE_COUNT
public String getName()
DirectoryExifpublic Map<String,String> getXmpProperties()
This is required because XMP properties are represented as strings, whereas the rest of this library uses integers for keys.
public void setXMPMeta(XMPMeta xmpMeta)
public XMPMeta getXMPMeta()
Copyright © 2010 - 2020 Adobe. All Rights Reserved