Class XmpDirectory

java.lang.Object
com.drew.metadata.Directory
com.drew.metadata.xmp.XmpDirectory

@Deprecated(since="2024-11-20") public class XmpDirectory extends Directory
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
Wraps an instance of Adobe's 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.

  • Field Details

    • TAG_XMP_VALUE_COUNT

      public static final int TAG_XMP_VALUE_COUNT
      Deprecated.
      See Also:
  • Constructor Details

    • XmpDirectory

      public XmpDirectory()
      Deprecated.
  • Method Details

    • getName

      public String getName()
      Deprecated.
      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
    • getXmpProperties

      public Map<String,String> getXmpProperties()
      Deprecated.
      Gets a map of all XMP properties in this directory.

      This is required because XMP properties are represented as strings, whereas the rest of this library uses integers for keys.

    • setXMPMeta

      public void setXMPMeta(XMPMeta xmpMeta)
      Deprecated.
    • getXMPMeta

      public XMPMeta getXMPMeta()
      Deprecated.
      Gets the XMPMeta object used to populate this directory. It can be used for more XMP-oriented operations. If one does not exist it will be created.