public final class PatternHelper extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
isExcludePatternMatch(String key,
String... excludePatterns) |
static boolean |
matchPattern(String name,
String pattern)
Matches the name with the given pattern (case insensitive).
|
static boolean |
matchPatterns(String name,
String[] patterns)
Matches the name with the given patterns (case insensitive).
|
public static boolean matchPattern(String name, String pattern)
name
- the namepattern
- a pattern to matchpublic static boolean matchPatterns(String name, String[] patterns)
name
- the namepatterns
- pattern(s) to matchmatchPattern(String, String)
Apache Camel