Class TikaSpringConfiguredMetadataExtracter

  • All Implemented Interfaces:
    ContentWorker, MetadataEmbedder, MetadataExtracter, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.context.ApplicationContextAware

    @AlfrescoPublicApi
    public class TikaSpringConfiguredMetadataExtracter
    extends TikaPoweredMetadataExtracter
    A Metadata Extractor which makes use of Apache Tika, and allows the selection of the Tika parser to be sprung-in to extract the metadata from your document. This is typically used with custom Tika Parsers.
       author:                 --      cm:author
       title:                  --      cm:title
       subject:                --      cm:description
       created:                --      cm:created
       comments:
       geo:lat:                --      cm:latitude
       geo:long:               --      cm:longitude
     
    Since:
    3.4
    Author:
    Nick Burch
    • Field Detail

      • logger

        protected static org.apache.commons.logging.Log logger
    • Constructor Detail

      • TikaSpringConfiguredMetadataExtracter

        public TikaSpringConfiguredMetadataExtracter()
    • Method Detail

      • setTikaParserName

        public void setTikaParserName​(java.lang.String className)
        Injects the name of the Tika parser to use
        Parameters:
        className -
      • setTikaParser

        public void setTikaParser​(org.apache.tika.parser.Parser tikaParser)
        Injects the Tika parser to use
        Parameters:
        tikaParser -