Class MatchesPatternTextFilter

    • Field Detail

      • caseSensitive

        protected boolean caseSensitive
      • allowGlobbing

        protected boolean allowGlobbing
    • Constructor Detail

      • MatchesPatternTextFilter

        public MatchesPatternTextFilter​(java.lang.String filterText,
                                        boolean caseSensitive,
                                        boolean allowGlobbing)
    • Method Detail

      • matches

        public boolean matches​(java.lang.String text,
                               java.util.regex.Pattern pattern)
        Description copied from class: AbstractPatternTextFilter
        Subclasses implement this method for their usage of the given pattern (find vs. matches)
        Specified by:
        matches in class AbstractPatternTextFilter
        text - the text to check against the pattern
        pattern - the pattern used to match the text
        true if there is a match