Package com.day.cq.dam.api.metadata
Class ExtractedMetadata
- java.lang.Object
-
- com.day.cq.dam.api.metadata.ExtractedMetadata
-
@Deprecated public class ExtractedMetadata extends java.lang.ObjectDeprecated.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.TheExtractedMetadataclass ...
-
-
Constructor Summary
Constructors Constructor Description ExtractedMetadata()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddMetadataProperties(java.util.Map props)Deprecated.Add a map of additional metadata propertiesvoidaddTemporaryFileForCleanup(java.io.File tmpFile)Deprecated.Add temp file which is used in the metadata extraction method.voidcleanup()Deprecated.Deletes all used temp filesjava.util.MapgetMetaDataProperties()Deprecated.Returns the metadata propertiesjava.lang.ObjectgetMetaDataProperty(java.lang.String key)Deprecated.Returns the metadata object defined by its keyjava.lang.ObjectgetProperty(java.lang.String name)Deprecated.Get propertyjava.io.InputStreamgetXmp()Deprecated.Get xmp datavoidsetMetaDataProperty(java.lang.String key, java.lang.Object value)Deprecated.Set meta datavoidsetProperty(java.lang.String name, java.lang.Object value)Deprecated.Set propertyvoidsetXmp(java.io.InputStream xmp)Deprecated.Set the xmp data
-
-
-
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 keyvalue- 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 namevalue- property value
-
getProperty
public java.lang.Object getProperty(java.lang.String name)
Deprecated.Get property- Parameters:
name- property name- Returns:
- property value
-
-