public class MatchUtils extends Object
| Constructor and Description |
|---|
MatchUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
wildcardMatch(String str,
String wildcardMatcher)
The wildcard matcher uses the characters '?' and '*' to represent a
single or multiple wildcard characters.
|
static boolean |
wildcardMatch(String str,
String wildcardMatcher,
boolean sensitive)
The wildcard matcher uses the characters '?' and '*' to represent a
single or multiple wildcard characters.
|
public static boolean wildcardMatch(String str, String wildcardMatcher)
str - wildcardMatcher - public static boolean wildcardMatch(String str, String wildcardMatcher, boolean sensitive)
str - wildcardMatcher - sensitive - if sensitive is true, str and wildcardMatcher will
toLowerCase.Copyright © 2018–2021. All rights reserved.