Module java.base
Package java.nio.file

Interface PathMatcher

    • Method Detail

      • matches

        boolean matches​(Path path)
        Tells if given path matches this matcher's pattern.
        Parameters:
        path - the path to match
        Returns:
        true if, and only if, the path matches this matcher's pattern