public class StaticMapExclusionFilter extends ExclusionFilter
filterGroup
FILTER_ABORT, FILTER_EXCLUDE, FILTER_INCLUDE
Constructor and Description |
---|
StaticMapExclusionFilter(Map<String,Object> map,
UrlCanonicalizer canonicalizer) |
Modifier and Type | Method and Description |
---|---|
int |
filterObject(CaptureSearchResult r)
inpect record and determine if it should be included in the
results or not, or if processing of new records should stop.
|
protected boolean |
isExcluded(String url) |
void |
setFilterGroup(ExclusionCaptureFilterGroup filterGroup) |
public StaticMapExclusionFilter(Map<String,Object> map, UrlCanonicalizer canonicalizer)
map
- where each String key is a SURT that is blocked.public void setFilterGroup(ExclusionCaptureFilterGroup filterGroup)
setFilterGroup
in class ExclusionFilter
protected boolean isExcluded(String url)
public int filterObject(CaptureSearchResult r)
ObjectFilter
r
- Object which should be checked for inclusion/exclusion or abortCopyright © 2005–2017 IIPC. All rights reserved.