Closed FJBDev closed 4 years ago
The below code will not filter the txt files.
String globPattern = "*.txt"; try (DirectoryStream<Path> directoryStream = Files.newDirectoryStream(validPath, globPattern));
The below code will not filter the txt files.