public interface PatternMatcher<E>
Modifier and Type | Method and Description |
---|---|
E |
compilePattern(String data)
Translate the given
String into an object
representing the pattern matchable by this class. |
boolean |
isLiteral(String pattern)
Determines if the pattern is a simple literal string or contains wildcards that will need to be processed
|
boolean |
match(Map<String,String> map,
String data,
E expr)
Match a pattern against a string
|
boolean isLiteral(String pattern)
pattern
- The string patternE compilePattern(String data)
Translate the given String
into an object
representing the pattern matchable by this class.
data
- The string to translate.NullPointerException
- If data is null.Copyright © 2000–2020 Apache Software Foundation. All rights reserved.