Class ExtractedMetadata


  • @Deprecated
    public class ExtractedMetadata
    extends java.lang.Object
    Deprecated.
    In AEM as a Cloud Service, asset file manipulation should no longer occur directly in the JVM. Instead, we recommend using the Asset Workflow Migration Tool to to migrate workflows to Processing profiles.
    The ExtractedMetadata class ...
    • Constructor Summary

      Constructors 
      Constructor Description
      ExtractedMetadata()
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void addMetadataProperties​(java.util.Map props)
      Deprecated.
      Add a map of additional metadata properties
      void addTemporaryFileForCleanup​(java.io.File tmpFile)
      Deprecated.
      Add temp file which is used in the metadata extraction method.
      void cleanup()
      Deprecated.
      Deletes all used temp files
      java.util.Map getMetaDataProperties()
      Deprecated.
      Returns the metadata properties
      java.lang.Object getMetaDataProperty​(java.lang.String key)
      Deprecated.
      Returns the metadata object defined by its key
      java.lang.Object getProperty​(java.lang.String name)
      Deprecated.
      Get property
      java.io.InputStream getXmp()
      Deprecated.
      Get xmp data
      void setMetaDataProperty​(java.lang.String key, java.lang.Object value)
      Deprecated.
      Set meta data
      void setProperty​(java.lang.String name, java.lang.Object value)
      Deprecated.
      Set property
      void setXmp​(java.io.InputStream xmp)
      Deprecated.
      Set the xmp data
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExtractedMetadata

        public ExtractedMetadata()
        Deprecated.
    • Method Detail

      • getMetaDataProperties

        public java.util.Map getMetaDataProperties()
        Deprecated.
        Returns the metadata properties
        Returns:
        metadata properties
      • getMetaDataProperty

        public java.lang.Object getMetaDataProperty​(java.lang.String key)
        Deprecated.
        Returns the metadata object defined by its key
        Parameters:
        key - metadata property key
        Returns:
        metadata object
      • setMetaDataProperty

        public void setMetaDataProperty​(java.lang.String key,
                                        java.lang.Object value)
        Deprecated.
        Set meta data
        Parameters:
        key - the metadata property key
        value - the corresponding value
      • addMetadataProperties

        public void addMetadataProperties​(java.util.Map props)
        Deprecated.
        Add a map of additional metadata properties
        Parameters:
        props - map of properties
      • setXmp

        public void setXmp​(java.io.InputStream xmp)
        Deprecated.
        Set the xmp data
        Parameters:
        xmp - xmp data
      • getXmp

        public java.io.InputStream getXmp()
        Deprecated.
        Get xmp data
        Returns:
        xmp data
      • addTemporaryFileForCleanup

        public void addTemporaryFileForCleanup​(java.io.File tmpFile)
        Deprecated.
        Add temp file which is used in the metadata extraction method.
        Parameters:
        tmpFile - temp file
      • cleanup

        public void cleanup()
        Deprecated.
        Deletes all used temp files
      • setProperty

        public void setProperty​(java.lang.String name,
                                java.lang.Object value)
        Deprecated.
        Set property
        Parameters:
        name - property name
        value - property value
      • getProperty

        public java.lang.Object getProperty​(java.lang.String name)
        Deprecated.
        Get property
        Parameters:
        name - property name
        Returns:
        property value