Class Countif.StringMatcher

  • All Implemented Interfaces:
    org.apache.poi.ss.formula.functions.CountUtils.I_MatchPredicate
    Enclosing class:
    Countif

    public static final class Countif.StringMatcher
    extends Object
    • Constructor Detail

      • StringMatcher

        public StringMatcher​(String value,
                             org.apache.poi.ss.formula.functions.Countif.CmpOp operator)
    • Method Detail

      • getValueText

        protected String getValueText()
      • matches

        public boolean matches​(ValueEval x)
      • getWildCardPattern

        public static Pattern getWildCardPattern​(String value)
        Translates Excel countif wildcard strings into java regex strings
        Returns:
        null if the specified value contains no special wildcard characters.