Package com.funnelback.filter.api.mock
Class UnknownDocumentTypeFactory
- java.lang.Object
-
- com.funnelback.filter.api.mock.UnknownDocumentTypeFactory
-
- All Implemented Interfaces:
DocumentTypeFactory
public class UnknownDocumentTypeFactory extends Object implements DocumentTypeFactory
A document type factory which always returnsDocumentType.MIME_UNKNOWN
. TheDocumentTypeFactory
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 Summary
Constructors Constructor Description UnknownDocumentTypeFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentType
fromContentTypeHeader(String contentTypeHeader)
-
-
-
Method Detail
-
fromContentTypeHeader
public DocumentType fromContentTypeHeader(String contentTypeHeader)
- Specified by:
fromContentTypeHeader
in interfaceDocumentTypeFactory
-
-