Package com.day.cq.dam.core.process
Class MetadataExtractor
- java.lang.Object
-
- com.day.cq.dam.core.process.MetadataExtractor
-
public class MetadataExtractor extends java.lang.ObjectTheMetadataExtractoris used in multiple workflow steps. At the time of writing this comment it is used in Metadata Processor step and Metadata Extractor step.
-
-
Constructor Summary
Constructors Constructor Description MetadataExtractor()Deprecated.since release 6.3, this has been replaced bySimpleXmpToJcrMetadataBuilder, implying that responsibility (and ownership) of providing XMP Metadata Builder class lies with the component instantiatingMetadataExtractorTo prevent catastrophic failures for components calling the deprecated API, a new instance ofSimpleXmpToJcrMetadataBuilderis created by this constructor.MetadataExtractor(SimpleXmpToJcrMetadataBuilder metadataBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidextractMetadata(javax.jcr.Session session, Asset asset, AssetHandler assetHandler, boolean sha1Enabled, boolean damSizeEnabled, MimeTypeService mimeTypeService)voidextractMetadata(javax.jcr.Session session, Asset asset, AssetHandler assetHandler, boolean sha1Enabled, MimeTypeService mimeTypeService)
-
-
-
Constructor Detail
-
MetadataExtractor
@Deprecated public MetadataExtractor()
Deprecated.since release 6.3, this has been replaced bySimpleXmpToJcrMetadataBuilder, implying that responsibility (and ownership) of providing XMP Metadata Builder class lies with the component instantiatingMetadataExtractorTo prevent catastrophic failures for components calling the deprecated API, a new instance ofSimpleXmpToJcrMetadataBuilderis created by this constructor. However, please be aware that sinceSimpleXmpToJcrMetadataBuilderis now an OSGi Declarative Service, lifecycle events and any configurations of the service WILL NOT be honoured when deprecated API is invoked.
-
MetadataExtractor
public MetadataExtractor(SimpleXmpToJcrMetadataBuilder metadataBuilder)
-
-
Method Detail
-
extractMetadata
public void extractMetadata(javax.jcr.Session session, Asset asset, AssetHandler assetHandler, boolean sha1Enabled, MimeTypeService mimeTypeService) throws javax.jcr.RepositoryException, java.io.IOException- Throws:
javax.jcr.RepositoryExceptionjava.io.IOException
-
extractMetadata
public void extractMetadata(javax.jcr.Session session, Asset asset, AssetHandler assetHandler, boolean sha1Enabled, boolean damSizeEnabled, MimeTypeService mimeTypeService) throws javax.jcr.RepositoryException, java.io.IOException- Throws:
javax.jcr.RepositoryExceptionjava.io.IOException
-
-