62,635
社区成员




try(DirectoryStream<Path> b = Files.newDirectoryStream(Paths.get( "C:/"))) {
b.forEach(System.out::println);
}
System.out.println("*********************");
try(Stream<Path> b = Files.list(Paths.get( "C:/"))) {
b.forEach(System.out::println);
}