Package org.apache.nutch.urlfilter.fast

# Class FastURLFilter.Rule

java.lang.Object
org.apache.nutch.urlfilter.fast.FastURLFilter.Rule

Direct Known Subclasses:
  `FastURLFilter.DenyAllRule`, `FastURLFilter.DenyPathQueryRule`, `FastURLFilter.DenyPathRule`

Enclosing class:
  FastURLFilter

public static class FastURLFilter.Rule extends Object

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected Pattern`
  `pattern`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Rule(String regex)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `match(URL url)`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### pattern

    protected Pattern pattern

- ## Constructor Details

  - ### Rule

    public Rule(String regex)

- ## Method Details

  - ### match

    public boolean match(URL url)

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`