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 using the Asset Workflow Migration Tool to to migrate workflows to Processing profiles.TheExtractedMetadataclass ...
-
-
Constructor Summary
Constructors Constructor Description ExtractedMetadata()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddMetadataProperties(Map props)Deprecated.Add a map of additional metadata propertiesvoidaddTemporaryFileForCleanup(File tmpFile)Deprecated.Add temp file which is used in the metadata extraction method.voidcleanup()Deprecated.Deletes all used temp filesMapgetMetaDataProperties()Deprecated.Returns the metadata propertiesObjectgetMetaDataProperty(String key)Deprecated.Returns the metadata object defined by its keyObjectgetProperty(String name)Deprecated.Get propertyInputStreamgetXmp()Deprecated.Get xmp datavoidsetMetaDataProperty(String key, Object value)Deprecated.Set meta datavoidsetProperty(String name, Object value)Deprecated.Set propertyvoidsetXmp(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
-
-