Interface SearchMatchAlgorithm
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface to match given text with a pattern into a result.
-
Method Summary
Modifier and TypeMethodDescriptionMatch given text with pattern as a result.
-
Method Details
-
match
SearchMatchResult match(boolean caseSensitive, boolean normalize, boolean forward, String text, String pattern) Match given text with pattern as a result.- Parameters:
caseSensitive
- the caseSensitivenormalize
- the normalizeforward
- the forwardtext
- the testpattern
- the pattern- Returns:
- a search match result
-