Package com.day.cq.dam.api.metadata
Class ExtractedMetadata
- java.lang.Object
-
- com.day.cq.dam.api.metadata.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.TheExtractedMetadata
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(Map props)
Deprecated.Add a map of additional metadata propertiesvoid
addTemporaryFileForCleanup(File tmpFile)
Deprecated.Add temp file which is used in the metadata extraction method.void
cleanup()
Deprecated.Deletes all used temp filesMap
getMetaDataProperties()
Deprecated.Returns the metadata propertiesObject
getMetaDataProperty(String key)
Deprecated.Returns the metadata object defined by its keyObject
getProperty(String name)
Deprecated.Get propertyInputStream
getXmp()
Deprecated.Get xmp datavoid
setMetaDataProperty(String key, Object value)
Deprecated.Set meta datavoid
setProperty(String name, Object value)
Deprecated.Set propertyvoid
setXmp(InputStream xmp)
Deprecated.Set the xmp data
-
-
-
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 keyvalue
- 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 namevalue
- property value
-
-