Files 클래스에는 Java 8에서 추가된 find라는 메소드가 있다.Funtional Programmin in Java 8 책의 3장에 ListSubDir.java 예제가 있는데, 해당 디렉토리의 하부 디렉토리까지만 가져오므로 완전한 예가 아니다.find를 이용해서 어떤 디렉토리에 존재하는 모든 파일을 가져오도록 Stream API를 이용하여 작성해 보자.Path start = Paths.get(".");int maxDepth = 5; // Integer.MAX_VALUE로 하면 모든 파일을 가져올 수 있다Files.find(start, maxDepth, (path, attr) -> true) .forEach(System.out::println);만약 어떤 특정 파일 속성을 가지는 파일만 가져오고 싶..