Contents
Class WildcardMatch
java.lang.Object
com.hypixel.hytale.server.core.util.WildcardMatch
-
Method Summary
-
Method Details
-
test
-
test
Tests if a string matches a wildcard pattern. Pattern suports * for multichars and ? for single chars. Examples: - AnnualReport_*.pdf - *.txt - log-201?-*.csv- Parameters:
text- The text being testedpattern- The wildcard patternignoreCase-- Returns:
- true if the text fits the pattern
-