java.nio.file
public interface PathMatcher
FileSystem.getPathMatcher(java.lang.String),
Files.newDirectoryStream(Path,String)boolean matches(Path path)
path - the path to matchtrue if, and only if, the path matches this
matcher's pattern