public class WildcardMatcher extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
match(String string,
String wildcard)
Give the boolean value whether the given file name and the wild card
matches.
|
static boolean |
match(String string,
String wildcard,
boolean ignorecase)
Give the boolean value whether the given file name and the wild card
matches.
|
public static boolean match(String string, String wildcard)
string - The source string to be compared to the wildcard.wildcard - The wildcard.public static boolean match(String string, String wildcard, boolean ignorecase)
string - The source string to be compared to the wildcard.wildcard - The wildcard.ignorecase - If this param is true, all the comparison is made not
casesensitive.Copyright © 2016 iveely. All rights reserved.