org.apache.poi.ss.formula.functions

## Class Countif.StringMatcher

- java.lang.Object
- - org.apache.poi.ss.formula.functions.Countif.StringMatcher

- All Implemented Interfaces:
    CountUtils.I_MatchPredicate
  Enclosing class:
    Countif

      public static final class Countif.StringMatcher
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `StringMatcher(java.lang.String value, org.apache.poi.ss.formula.functions.Countif.CmpOp operator)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected java.lang.String` | `getValueText()`
    `static java.util.regex.Pattern` | `getWildCardPattern(java.lang.String value)` Translates Excel countif wildcard strings into java regex strings
    `boolean` | `matches(ValueEval x)`

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

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

- - ### Constructor Detail

    - #### StringMatcher

          public StringMatcher(java.lang.String value,
                               org.apache.poi.ss.formula.functions.Countif.CmpOp operator)

  - ### Method Detail

    - #### getValueText

          protected java.lang.String getValueText()

    - #### matches

          public boolean matches(ValueEval x)

    - #### getWildCardPattern

          public static java.util.regex.Pattern getWildCardPattern(java.lang.String value)

      Translates Excel countif wildcard strings into java regex strings
      Returns:
        `null` if the specified value contains no special wildcard characters.

Copyright 2020 The Apache Software Foundation or its licensors, as applicable.