/** @param args */ public static void main(String[] args) { // TODO Auto-generated method stub PPrint.pprint(Directory.walk("src/thinking").dirs); for (File file : Directory.local("src/thinking/java/space18", "D.*")) { System.out.println(file); } }
public void processDirectoryTree(File root) throws IOException { for (File file : Directory.walk(root.getAbsolutePath(), ".*\\." + ext)) strategy.process(file.getCanonicalFile()); }