[ad_1]
What about this?
Files.list(Paths.get("somedir")).sorted().forEach(System.out::println);
1
[ad_2]
solved List of files in directory with new File API
[ad_1]
What about this?
Files.list(Paths.get("somedir")).sorted().forEach(System.out::println);
1
[ad_2]
solved List of files in directory with new File API