liquibase-core/src/main/java/liquibase/util/file/FilenameUtils.java
public static boolean wildcardMatchOnSystem(String filename, String wildcardMatcher) {
        return wildcardMatch(filename, wildcardMatcher, IOCase.SYSTEM);
    }
public static boolean wildcardMatchOnSystem(String filename, String wildcardMatcher) {
        return wildcardMatch(filename, wildcardMatcher, IOCase.SYSTEM);
    }
Checks a filename to see if it matches the specified wildcard matcher
using the case rules of the system.
<p>
The wildcard matcher uses the characters '?' and '*' to represent a
single or multiple wildcard characters.
This is the same as often found on Dos/Unix command lines.
The check is case-sensitive on Unix and case-insensitive on Windows.
<pre>
wildcardMatch("c.txt", "*.txt")      --> true
wildcardMatch("c.txt", "*.jpg")      --> false
wildcardMatch("a/b/c.txt", "a/b/*")  --> true
wildcardMatch("c.txt", "*.???")      --> true
wildcardMatch("c.txt", "*.????")     --> false
</pre>

@param filename  the filename to match on
@param wildcardMatcher  the wildcard string to match against
@return true if the filename matches the wilcard string
@see IOCase#SYSTEM