List of utility methods to do Folder File List
List | getAllFiles(File root) Gets all files under the specified fold. return getAllFiles(root, null);
|
List | getAllFiles(File root, FileFilter filter) Gets all files under the specified fold. Assert.assertFileExist(root); List<File> files = new ArrayList<File>(); if (root.isFile()) { if (filter == null || filter.accept(root)) { files.add(root); } else { File[] fs = root.listFiles(); ... |