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 java.lang.Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected java.util.regex.Pattern` | `pattern`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Rule(java.lang.String regex)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `match(java.net.URL url)`
    `java.lang.String` | `toString()`

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

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

- - ### Field Detail

    - #### pattern

          protected java.util.regex.Pattern pattern

  - ### Constructor Detail

    - #### Rule

          public Rule(java.lang.String regex)

  - ### Method Detail

    - #### match

          public boolean match(java.net.URL url)

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`

Copyright © 2019 The Apache Software Foundation