Class SimpleExtractorFactory<T extends org.apache.any23.extractor.Extractor<?>>

    • Constructor Detail

      • SimpleExtractorFactory

        protected SimpleExtractorFactory​(String name,
                                         org.apache.any23.rdf.Prefixes prefixes)
      • SimpleExtractorFactory

        protected SimpleExtractorFactory​(String name,
                                         org.apache.any23.rdf.Prefixes prefixes,
                                         Collection<String> supportedMIMETypes,
                                         String exampleInput)
    • Method Detail

      • getExtractorName

        public String getExtractorName()
        Specified by:
        getExtractorName in interface org.apache.any23.extractor.ExtractorDescription
        Returns:
        the name of the Extractor
      • getExtractorLabel

        public String getExtractorLabel()
        Specified by:
        getExtractorLabel in interface org.apache.any23.extractor.ExtractorDescription
        Returns:
        the label of the Extractor
      • getPrefixes

        public org.apache.any23.rdf.Prefixes getPrefixes()
        Specified by:
        getPrefixes in interface org.apache.any23.extractor.ExtractorDescription
        Returns:
        the handled Prefixes
      • getSupportedMIMETypes

        public Collection<org.apache.any23.mime.MIMEType> getSupportedMIMETypes()
        Specified by:
        getSupportedMIMETypes in interface org.apache.any23.extractor.ExtractorFactory<T extends org.apache.any23.extractor.Extractor<?>>
        Returns:
        the supported MIMEType
      • getExampleInput

        public String getExampleInput()
        Specified by:
        getExampleInput in interface org.apache.any23.extractor.ExtractorFactory<T extends org.apache.any23.extractor.Extractor<?>>
        Returns:
        an input example