Uses of Interface
com.funnelback.filter.api.documents.FilterableDocument
-
Packages that use FilterableDocument Package Description com.funnelback.filter.api This holds the public API which clients are expected to use for filtering.com.funnelback.filter.api.documents com.funnelback.filter.api.filters -
-
Uses of FilterableDocument in com.funnelback.filter.api
Fields in com.funnelback.filter.api with type parameters of type FilterableDocument Modifier and Type Field Description private List<FilterableDocument>
FilterResult. filteredDocuments
Methods in com.funnelback.filter.api that return types with arguments of type FilterableDocument Modifier and Type Method Description List<FilterableDocument>
FilterResult. getFilteredDocuments()
Methods in com.funnelback.filter.api with parameters of type FilterableDocument Modifier and Type Method Description static FilterResult
FilterResult. of(FilterableDocument filteredDocument)
Returned by a filter when it has filtered a document returning a single document.BytesDocument
FilterDocumentFactory. toBytesDocument(FilterableDocument filterableDocument)
Converts a FilterableDocument into a RawFilterableDocumentOptional<StringDocument>
FilterDocumentFactory. toStringDocument(FilterableDocument filterableDocument)
Attempts to create a StingDocument from the given document.StringDocument
FilterDocumentFactory. toStringDocument(FilterableDocument filterableDocument, DocumentType documentType, String content)
Constructs a StringDocument from a FilterableDocument, with the given mimeType and content.Method parameters in com.funnelback.filter.api with type arguments of type FilterableDocument Modifier and Type Method Description static FilterResult
FilterResult. of(Collection<? extends FilterableDocument> filteredDocuments)
Returned by a filter when it has filtered a document into many documents.Constructors in com.funnelback.filter.api with parameters of type FilterableDocument Constructor Description FilterResult(FilterableDocument filterableDocument)
Constructor parameters in com.funnelback.filter.api with type arguments of type FilterableDocument Constructor Description FilterResult(boolean skipped, List<FilterableDocument> filteredDocuments)
FilterResult(Collection<? extends FilterableDocument> filteredDocs)
-
Uses of FilterableDocument in com.funnelback.filter.api.documents
Subinterfaces of FilterableDocument in com.funnelback.filter.api.documents Modifier and Type Interface Description interface
BytesDocument
A raw byte document.interface
StringDocument
A filterable String DocumentMethods in com.funnelback.filter.api.documents that return FilterableDocument Modifier and Type Method Description FilterableDocument
FilterableDocument. cloneWithDocumentType(DocumentType documentType)
Creates a clone of the document with the given document type.FilterableDocument
FilterableDocument. cloneWithMetadata(com.google.common.collect.ListMultimap<String,String> metadata)
Gets a clone of the document with the given metadata.FilterableDocument
FilterableDocument. cloneWithURI(URI uri)
Gets a clone of the document with a different URI. -
Uses of FilterableDocument in com.funnelback.filter.api.filters
Methods in com.funnelback.filter.api.filters with parameters of type FilterableDocument Modifier and Type Method Description default FilterResult
BytesDocumentFilter. filter(FilterableDocument document, FilterContext context)
Filter method responsible for callingBytesDocumentFilter.canFilter(NoContentDocument, FilterContext)
andBytesDocumentFilter.filterAsBytesDocument(BytesDocument, FilterContext)
FilterResult
Filter. filter(FilterableDocument document, FilterContext context)
Filter a document.default FilterResult
StringDocumentFilter. filter(FilterableDocument document, FilterContext context)
Filter method responsible for callingStringDocumentFilter.canFilter(NoContentDocument, FilterContext)
andStringDocumentFilter.filterAsStringDocument(StringDocument, FilterContext)
Constructors in com.funnelback.filter.api.filters with parameters of type FilterableDocument Constructor Description FilterException(FilterableDocument documentBeingFiltered, String message)
FilterException(FilterableDocument documentBeingFiltered, String message, Throwable cause)
-