[TOC]
org.apache.nutch.net
Class URLFilters
- java.lang.Object
- org.apache.nutch.net.URLFilters
public class URLFilters extends Object
Creates and caches URLFilter
implementing plugins.
Field Summary
Fields Modifier and Type Field and Description static String
URLFILTER_ORDER
Constructor Summary
Constructors Constructor and Description URLFilters(org.apache.hadoop.conf.Configuration conf)
Method Summary
Methods Modifier and Type Method and Description String
filter(String urlString)
Run all defined filters.
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail
-
URLFILTER_ORDER
public static final String URLFILTER_ORDER
- See Also:
- [Constant Field Values](../../../../constant-values.html#org.apache.nutch.net.URLFilters.URLFILTER_ORDER)
Constructor Detail
-
URLFilters
public URLFilters(org.apache.hadoop.conf.Configuration conf)
Method Detail
-
filter
public String filter(String urlString) throws URLFilterException
Run all defined filters. Assume logical AND.
- Throws:
- <code>URLFilterException</code>