Package com.day.cq.dam.api.metadata
Class ExtractedMetadata
java.lang.Object
com.day.cq.dam.api.metadata.ExtractedMetadata
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.
The
ExtractedMetadata class ...-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMetadataProperties(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 filesDeprecated.Returns the metadata propertiesDeprecated.Returns the metadata object defined by its keygetProperty(String name) Deprecated.Get propertygetXmp()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
-
Constructor Details
-
ExtractedMetadata
public ExtractedMetadata()Deprecated.
-
-
Method Details
-
getMetaDataProperties
Deprecated.Returns the metadata properties- Returns:
- metadata properties
-
getMetaDataProperty
Deprecated.Returns the metadata object defined by its key- Parameters:
key- metadata property key- Returns:
- metadata object
-
setMetaDataProperty
Deprecated.Set meta data- Parameters:
key- the metadata property keyvalue- the corresponding value
-
addMetadataProperties
Deprecated.Add a map of additional metadata properties- Parameters:
props- map of properties
-
setXmp
Deprecated.Set the xmp data- Parameters:
xmp- xmp data
-
getXmp
Deprecated.Get xmp data- Returns:
- xmp data
-
addTemporaryFileForCleanup
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
Deprecated.Set property- Parameters:
name- property namevalue- property value
-
getProperty
Deprecated.Get property- Parameters:
name- property name- Returns:
- property value
-