类 MatchUtils
java.lang.Object
com.alibaba.bytekit.utils.MatchUtils
from org.apache.commons.io.FilenameUtils
- 作者:
- hengyunabc
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static booleanwildcardMatch(String str, String wildcardMatcher) The wildcard matcher uses the characters '?'static booleanwildcardMatch(String str, String wildcardMatcher, boolean sensitive) The wildcard matcher uses the characters '?'
-
构造器详细资料
-
MatchUtils
public MatchUtils()
-
-
方法详细资料
-
wildcardMatch
The wildcard matcher uses the characters '?' and '*' to represent a single or multiple wildcard characters.- 参数:
str-wildcardMatcher-- 返回:
-
wildcardMatch
The wildcard matcher uses the characters '?' and '*' to represent a single or multiple wildcard characters.- 参数:
str-wildcardMatcher-sensitive- if sensitive is true, str and wildcardMatcher will toLowerCase.- 返回:
-