Uses of Interface
com.funnelback.filter.api.DocumentType
-
Packages that use DocumentType Package Description com.funnelback.filter.api This holds the public API which clients are expected to use for filtering.com.funnelback.filter.api.documents -
-
Uses of DocumentType in com.funnelback.filter.api
Classes in com.funnelback.filter.api that implement DocumentType Modifier and Type Class Description static class
DocumentType._DocumentType
Fields in com.funnelback.filter.api declared as DocumentType Modifier and Type Field Description static DocumentType
DocumentType. APPLICATION_JSON_TEXT
Deprecated.static DocumentType
DocumentType. MIME_APPLICATION_JSON_TEXT
Simple json MIME type which should be used when a filter converts a document to json.static DocumentType
DocumentType. MIME_CSV_TEXT
Standard CSV MIME type which should be used when a filter converts a document to CSVstatic DocumentType
DocumentType. MIME_HTML_TEXT
Simple html MIME type which should be used when a filter converts a document to html.static DocumentType
DocumentType. MIME_TEXT_PLAIN
A document type for plain text documents.static DocumentType
DocumentType. MIME_UNKNOWN
A mime type that is unknown.static DocumentType
DocumentType. MIME_XHTML_TEXT
Deprecated.static DocumentType
DocumentType. MIME_XHTML_XML
Simple xhtml MIME type which should be used when a filter converts a document to xhtml.static DocumentType
DocumentType. MIME_XML_TEXT
Simple xml MIME type which should be used when a filter converts a document to xml.Methods in com.funnelback.filter.api that return DocumentType Modifier and Type Method Description DocumentType
DocumentTypeFactory. fromContentTypeHeader(String contentTypeHeader)
Creates a DocumentType from HTTP header Content-Type.Methods in com.funnelback.filter.api with parameters of type DocumentType Modifier and Type Method Description StringDocument
FilterDocumentFactory. toStringDocument(FilterableDocument filterableDocument, DocumentType documentType, String content)
Constructs a StringDocument from a FilterableDocument, with the given mimeType and content. -
Uses of DocumentType in com.funnelback.filter.api.documents
Methods in com.funnelback.filter.api.documents that return DocumentType Modifier and Type Method Description DocumentType
NoContentDocument. getDocumentType()
Returns the document type of this filterable document, this may not be the original document type.Methods in com.funnelback.filter.api.documents with parameters of type DocumentType Modifier and Type Method Description BytesDocument
BytesDocument. cloneWithContent(DocumentType documentType, Optional<Charset> charset, byte[] content)
Creates a clone of the document with the given content.FilterableDocument
FilterableDocument. cloneWithDocumentType(DocumentType documentType)
Creates a clone of the document with the given document type.StringDocument
StringDocument. cloneWithStringContent(DocumentType documentType, String content)
Creates a clone of the document with the given content and document type.
-