private static boolean match ( AlluxioURI fileURI , AlluxioURI patternURI ) { return escape ( fileURI . getPath ( ) ) . matches ( replaceWildcards ( patternURI . getPath ( ) ) ) ; }
Returns whether or not fileURI matches the patternURI .