Package org.apache.nutch.net
Class URLFilters
java.lang.Object
org.apache.nutch.net.URLFilters
Creates and caches plugins implementing
URLFilter. Filters URLs using
the active filters defined by the properties "plugin.includes",
"plugin.excludes" and "urlfilter.order".-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRun all defined filters.
-
Field Details
-
URLFILTER_ORDER
- See Also:
-
-
Constructor Details
-
URLFilters
-
-
Method Details
-
getFilters
-
filter
Run all defined filters. Assume logical AND. To control performance, the ULFilter classes can be ordered by the property "urlfilter.order".- Parameters:
urlString- to execute filters on- Returns:
- filtered result
- Throws:
URLFilterException- if there is an issue executing any URLFilter implementations.
-