org.apache.tamaya.filter

## Class RegexPropertyFilter

- java.lang.Object
- - org.apache.tamaya.filter.RegexPropertyFilter

- All Implemented Interfaces:
    org.apache.tamaya.spi.PropertyFilter

      public final class RegexPropertyFilter
      extends Object
      implements org.apache.tamaya.spi.PropertyFilter

  Predicate filtering using a regex expression operating on the key.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RegexPropertyFilter(String expression)` Creates a new regex filter expression.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `filterProperty(String valueToBeFiltered, org.apache.tamaya.spi.FilterContext context)`
    `String` | `toString()`

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

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

- - ### Constructor Detail

    - #### RegexPropertyFilter

          public RegexPropertyFilter(String expression)

      Creates a new regex filter expression.
      Parameters:
        `expression` - the reged expression, not null.

  - ### Method Detail

    - #### filterProperty

          public String filterProperty(String valueToBeFiltered,
                              org.apache.tamaya.spi.FilterContext context)

      Specified by:
        `filterProperty` in interface `org.apache.tamaya.spi.PropertyFilter`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2014–2016 Apache Software Foundation. All rights reserved.