Class RegExpExclusionFilter
- java.lang.Object
-
- org.archive.wayback.resourceindex.filters.ExclusionFilter
-
- dk.netarkivet.wayback.accesscontrol.RegExpExclusionFilter
-
- All Implemented Interfaces:
org.archive.wayback.util.ObjectFilter<org.archive.wayback.core.CaptureSearchResult>
public class RegExpExclusionFilter extends org.archive.wayback.resourceindex.filters.ExclusionFilter
-
-
Constructor Summary
Constructors Constructor Description RegExpExclusionFilter(Collection<Pattern> regexps)
Creates an exclusion filter which will filter out any search result for which the original url matches any of the specified regular expression.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
filterObject(org.archive.wayback.core.CaptureSearchResult captureSearchResult)
-
-
-
Constructor Detail
-
RegExpExclusionFilter
public RegExpExclusionFilter(Collection<Pattern> regexps)
Creates an exclusion filter which will filter out any search result for which the original url matches any of the specified regular expression.- Parameters:
regexps
- The regular expressions to match.
-
-