public class MetadataExtractor
extends java.lang.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
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,
boolean damSizeEnabled,
MimeTypeService mimeTypeService) |
void |
extractMetadata(Session session,
Asset asset,
AssetHandler assetHandler,
boolean sha1Enabled,
MimeTypeService mimeTypeService) |
@Deprecated public MetadataExtractor()
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, java.io.IOException
RepositoryException
java.io.IOException
public void extractMetadata(Session session, Asset asset, AssetHandler assetHandler, boolean sha1Enabled, boolean damSizeEnabled, MimeTypeService mimeTypeService) throws RepositoryException, java.io.IOException
RepositoryException
java.io.IOException
Copyright © 2010 - 2023 Adobe. All Rights Reserved