org.apache.nutch.net

## Interface URLFilter

- All Superinterfaces:
    Configurable, Pluggable
  All Known Implementing Classes:
    AutomatonURLFilter, DomainDenylistURLFilter, DomainURLFilter, ExemptionUrlFilter, FastURLFilter, 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 String` | `X_POINT_ID` The name of the extension point.

  - ### Method Summary

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

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

      `getConf, setConf`

- - ### Field Detail

    - #### X_POINT_ID

          static final String X_POINT_ID

      The name of the extension point.

  - ### Method Detail

    - #### filter

          String filter(String urlString)

Copyright © 2021 The Apache Software Foundation