public PathMatcher createPathMatcher(String syntaxAndPattern) {
    return PathMatchers.getPathMatcher(
        syntaxAndPattern,
        type.getSeparator() + type.getOtherSeparators(),
        equalityUsesCanonicalForm ? canonicalNormalizations : displayNormalizations);
  }
Returns a {@link PathMatcher} for the given syntax and pattern as specified by {@link
FileSystem#getPathMatcher(String)}.
jimfs/src/main/java/com/google/common/jimfs/PathService.java