Class UnknownDocumentTypeFactory

  • All Implemented Interfaces:
    com.funnelback.filter.api.DocumentTypeFactory

    public class UnknownDocumentTypeFactory
    extends Object
    implements com.funnelback.filter.api.DocumentTypeFactory
    A document type factory which always returns DocumentType.MIME_UNKNOWN. The DocumentTypeFactory that is provided under Funnelback e.g. during a crawl will provide some support for creating a DocumentType from the Content-Type HTTP header.
    • Constructor Detail

      • UnknownDocumentTypeFactory

        public UnknownDocumentTypeFactory()
    • Method Detail

      • fromContentTypeHeader

        public com.funnelback.filter.api.DocumentType fromContentTypeHeader​(String contentTypeHeader)
        Specified by:
        fromContentTypeHeader in interface com.funnelback.filter.api.DocumentTypeFactory