Class Countif.StringMatcher
- java.lang.Object
-
- org.apache.poi.ss.formula.functions.Countif.StringMatcher
-
- All Implemented Interfaces:
org.apache.poi.ss.formula.functions.CountUtils.I_MatchPredicate
- Enclosing class:
- Countif
public static final class Countif.StringMatcher extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor 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 Description static java.util.regex.Pattern
getWildCardPattern(java.lang.String value)
Translates Excel countif wildcard strings into java regex stringsboolean
matches(ValueEval x)
-
-
-
Method Detail
-
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.
-
-