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.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.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(java.util.Map props)
Deprecated.Add a map of additional metadata propertiesvoid
addTemporaryFileForCleanup(java.io.File tmpFile)
Deprecated.Add temp file which is used in the metadata extraction method.void
cleanup()
Deprecated.Deletes all used temp filesjava.util.Map
getMetaDataProperties()
Deprecated.Returns the metadata propertiesjava.lang.Object
getMetaDataProperty(java.lang.String key)
Deprecated.Returns the metadata object defined by its keyjava.lang.Object
getProperty(java.lang.String name)
Deprecated.Get propertyjava.io.InputStream
getXmp()
Deprecated.Get xmp datavoid
setMetaDataProperty(java.lang.String key, java.lang.Object value)
Deprecated.Set meta datavoid
setProperty(java.lang.String name, java.lang.Object value)
Deprecated.Set propertyvoid
setXmp(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
-
-