globToRegexp(String pattern) This static method takes a glob expression in the form of a String
and converts it into a String representation of a Perl5 pattern.
Parameters: pattern - A string representation of a Glob pattern.
public static boolean
isGlobExpression(String expression) Verifies if the given expression is a glob expression or just a string
constant.