org.apache.nutch.net

## Class URLFilters

- java.lang.Object
- - org.apache.nutch.net.URLFilters

-     public class URLFilters
      extends java.lang.Object

  Creates and caches `URLFilter` implementing plugins.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static java.lang.String` | `URLFILTER_ORDER`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `URLFilters(Configuration conf)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `filter(java.lang.String urlString)` Run all defined filters.
    `URLFilter[]` | `getFilters()`

    - ### 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 java.lang.String URLFILTER_ORDER

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### URLFilters

          public URLFilters(Configuration conf)

  - ### Method Detail

    - #### getFilters

          public URLFilter[] getFilters()

    - #### filter

          public java.lang.String filter(java.lang.String urlString)
                                  throws URLFilterException

      Run all defined filters. Assume logical AND.
      Throws:
        `URLFilterException`

Copyright © 2019 The Apache Software Foundation