public class MetadataExtractor extends Object
MetadataExtractor is used in multiple workflow steps. At the time of
writing this comment it is used in Metadata Processor step and Metadata Extractor step.| Constructor and Description |
|---|
MetadataExtractor()
Deprecated.
since release 6.3, this has been replaced by
com.day.cq.dam.core.process.MetadataExtractor({@link com.day.cq.dam.commons.metadata.SimpleXmpToJcrMetadataBuilder}),
implying that responsibility (and ownership) of providing XMP Metadata Builder class lies with the component instantiating
MetadataExtractor
To prevent catastrophic failures for components calling the deprecated API, a new instance of
SimpleXmpToJcrMetadataBuilder is created by this constructor.
However, please be aware that since SimpleXmpToJcrMetadataBuilder is now an OSGi Declarative Service, lifecycle events
and any configurations of the service WILL NOT be honoured when deprecated API is invoked. |
MetadataExtractor(SimpleXmpToJcrMetadataBuilder metadataBuilder) |
| Modifier and Type | Method and Description |
|---|---|
void |
extractMetadata(Session session,
Asset asset,
AssetHandler assetHandler,
boolean sha1Enabled,
MimeTypeService mimeTypeService) |
@Deprecated public MetadataExtractor()
com.day.cq.dam.core.process.MetadataExtractor({@link com.day.cq.dam.commons.metadata.SimpleXmpToJcrMetadataBuilder}),
implying that responsibility (and ownership) of providing XMP Metadata Builder class lies with the component instantiating
MetadataExtractor
To prevent catastrophic failures for components calling the deprecated API, a new instance of
SimpleXmpToJcrMetadataBuilder is created by this constructor.
However, please be aware that since SimpleXmpToJcrMetadataBuilder is now an OSGi Declarative Service, lifecycle events
and any configurations of the service WILL NOT be honoured when deprecated API is invoked.public MetadataExtractor(SimpleXmpToJcrMetadataBuilder metadataBuilder)
public void extractMetadata(Session session,
Asset asset,
AssetHandler assetHandler,
boolean sha1Enabled,
MimeTypeService mimeTypeService)
throws RepositoryException,
IOException
RepositoryExceptionIOException"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"