org.apache.nutch.net

## Interface URLFilter

- All Superinterfaces:
    Configurable, Pluggable
  All Known Implementing Classes:
    AutomatonURLFilter, DomainURLFilter, PrefixURLFilter, RegexURLFilter, RegexURLFilterBase, Subcollection, SuffixURLFilter, UrlValidator

      public interface URLFilter
      extends Pluggable, Configurable

  Interface used to limit which URLs enter Nutch. Used by the injector and the db updater.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static java.lang.String` | `X_POINT_ID` The name of the extension point.

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `filter(java.lang.String urlString)`

    - ### Methods inherited from interface org.apache.hadoop.conf.Configurable

      `getConf, setConf`

- - ### Field Detail

    - #### X_POINT_ID

          static final java.lang.String X_POINT_ID

      The name of the extension point.

  - ### Method Detail

    - #### filter

          java.lang.String filter(java.lang.String urlString)

Copyright © 2019 The Apache Software Foundation