org.apache.nutch.net
Class URLFilters

java.lang.Object
  extended by org.apache.nutch.net.URLFilters

public class URLFilters
extends Object

Creates and caches URLFilter implementing plugins.


Field Summary
static String URLFILTER_ORDER
           
 
Constructor Summary
URLFilters(Configuration conf)
           
 
Method Summary
 String filter(String urlString, URL seed, URL seedRedirect)
          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
Constructor Detail

URLFilters

public URLFilters(Configuration conf)
Method Detail

filter

public String filter(String urlString,
                     URL seed,
                     URL seedRedirect)
              throws URLFilterException
Run all defined filters. Assume logical AND.

Throws:
URLFilterException


Copyright © 2007, 2012, Oracle and/or its affiliates. All rights reserved.