public static boolean matchPath(final String path, final String pattern) {
    """
	Matches path against pattern using *, ? and ** wildcards.
	Both path and the pattern are tokenized on path separators (both \ and /).
	'**' represents deep tree wildcard, as in Ant.
    """
		String[] pathElements = StringUtil.splitc(path, PATH_SEPARATORS);
		String[] patternElements = StringUtil.splitc(pattern, PATH_SEPARATORS);
		return matchTokens(pathElements, patternElements);
	}
public static boolean matchPath(final String path, final String pattern) {
		String[] pathElements = StringUtil.splitc(path, PATH_SEPARATORS);
		String[] patternElements = StringUtil.splitc(pattern, PATH_SEPARATORS);
		return matchTokens(pathElements, patternElements);
	}
public static boolean matchPath ( final String path , final String pattern ) { String [ ] pathElements = StringUtil . splitc ( path , PATH_SEPARATORS ) ; String [ ] patternElements = StringUtil . splitc ( pattern , PATH_SEPARATORS ) ; return matchTokens ( pathElements , patternElements ) ; }
Matches path against pattern using *, ? and ** wildcards.
Both path and the pattern are tokenized on path separators (both \ and /).
'**' represents deep tree wildcard, as in Ant.
Matches path against pattern using * ? and ** wildcards . Both path and the pattern are tokenized on path separators ( both \ and / ) . ** represents deep tree wildcard as in Ant .