Class ExtractedMetadata


  • @Deprecated
    public class ExtractedMetadata
    extends Object
    Deprecated.
    In AEM as a Cloud Service, asset file manipulation should no longer occur directly in the JVM. Instead, we recommend creating custom Asset Compute workers to do image transformations. As ExtractedMetadata is only in use by AssetHandlers and AssetHandlers should be replaced by custom workers, this class has been deprecated. See the AEM Documentation for more information.
    The ExtractedMetadata class ...
    • Constructor Detail

      • ExtractedMetadata

        public ExtractedMetadata()
        Deprecated.
    • Method Detail

      • getMetaDataProperties

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

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

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

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

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

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

        public void addTemporaryFileForCleanup​(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​(String name,
                                Object value)
        Deprecated.
        Set property
        Parameters:
        name - property name
        value - property value
      • getProperty

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