private void print(List<String> actionClass, File dir) { File[] file = FileUtils.getSubFile(dir, ".class"); if (file != null) { for (int i = 0; i < file.length; i++) { actionClass.add(getClassFullName(file[i].getAbsolutePath())); } } }
private void addSubDirs(File dir, LinkedList<File> dirs) { File[] files = FileUtils.getSubDirectory(dir); if (files != null) { for (File file : files) { dirs.add(file); } } }