@FunctionalInterface public interface IReferenceFilter
toString()
method
to representing this filter properly in human-readable form
(e.g. for logging by a crawler).
It is a good idea to include specifics of this filter so crawler users
can know exactly why documents got accepted/rejected rejected if need be.
Implementors also implementing IXMLConfigurable must name their XML tag
filter
to ensure it gets loaded properly.
Modifier and Type | Method and Description |
---|---|
boolean |
acceptReference(String reference)
Whether to accept this reference.
|
boolean acceptReference(String reference)
reference
- the reference to accept/rejecttrue
if accepted, false
otherwiseCopyright © 2014–2023 Norconex Inc.. All rights reserved.