Lang.LangRule (Encode/Decode Utilities (Version 1.10))
Date: 2018-10-22

org.apache.commons.codec.language.bm

## Class Lang.LangRule

- java.lang.Object
- - org.apache.commons.codec.language.bm.Lang.LangRule

- Enclosing class:
    Lang

      private static final class Lang.LangRule
      extends java.lang.Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `private boolean` | `acceptOnMatch`
    `private java.util.Set<java.lang.String>` | `languages`
    `private java.util.regex.Pattern` | `pattern`

  - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `private` | `LangRule(java.util.regex.Pattern pattern, java.util.Set<java.lang.String> languages, boolean acceptOnMatch)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `matches(java.lang.String txt)`

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

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

- - ### Field Detail

    - #### acceptOnMatch

          private final boolean acceptOnMatch

    - #### languages

          private final java.util.Set<java.lang.String> languages

    - #### pattern

          private final java.util.regex.Pattern pattern

  - ### Constructor Detail

    - #### LangRule

          private LangRule(java.util.regex.Pattern pattern,
                           java.util.Set<java.lang.String> languages,
                           boolean acceptOnMatch)

  - ### Method Detail

    - #### matches

          public boolean matches(java.lang.String txt)

commons-codec version 1.10 - Copyright © 2002-2018 - Apache Software Foundation