public class MatchUtils extends Object
| 构造器和说明 |
|---|
MatchUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
wildcardMatch(String str,
String wildcardMatcher)
The wildcard matcher uses the characters '?'
|
static boolean |
wildcardMatch(String str,
String wildcardMatcher,
boolean sensitive)
The wildcard matcher uses the 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–2023. All rights reserved.