Class MetadataExtractor


  • public class MetadataExtractor
    extends java.lang.Object
    The 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 Detail

      • MetadataExtractor

        @Deprecated
        public 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.
    • 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.RepositoryException
        java.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.RepositoryException
        java.io.IOException