Package org.apache.nutch.net
Class URLExemptionFilters
java.lang.Object
org.apache.nutch.net.URLExemptionFilters
Creates and caches
URLExemptionFilter implementing plugins.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisExempted(String fromUrl, String toUrl) Run all defined filters.
-
Constructor Details
-
URLExemptionFilters
-
-
Method Details
-
isExempted
Run all defined filters. Assume logical AND. An URL is exempted when all the filters accept it to pass through- Parameters:
fromUrl- the source url which generated the outlinktoUrl- the destination url which needs to be checked for exemption- Returns:
- true is exempted, false otherwise
-