List of utility methods to do Directory Sub Directory Get
File[] | getSubDirectorieAndFiles(String parentpath) get Sub Directorie And Files return getSubDirectorieAndFiles(parentpath, null, null);
|
File[] | getSubDirectorieAndFiles(String parentpath, FileFilter fileFilter) get Sub Directorie And Files return getSubDirectorieAndFiles(parentpath, null, fileFilter);
|
File[] | getSubDirectorieAndFiles(String parentpath, String uri) get Sub Directorie And Files return getSubDirectorieAndFiles(parentpath, uri, null);
|
File[] | getSubDirectorieAndFiles(String parentpath, String uri, FileFilter fileFilter) get Sub Directorie And Files File file = null; if (uri == null || uri.trim().length() == 0) { file = new File(parentpath); } else { file = new File(parentpath, uri); if (!file.exists() || file.isFile()) return null; ... |
File[] | getSubDirectories(String parentpath) get Sub Directories return getSubDirectories(parentpath, null);
|
File[] | getSubDirectories(String parentpath, String uri) get Sub Directories File file = null; if (uri == null || uri.trim().length() == 0) { file = new File(parentpath); } else { file = new File(parentpath, uri); if (!file.exists() || file.isFile()) return null; ... |
boolean | hasSubDirectory(String path) has Sub Directory return hasSubDirectory(path, null);
|
boolean | hasSubDirectory(String path, String uri) has Sub Directory File file = null; if (uri == null || uri.trim().length() == 0) { file = new File(path); } else { file = new File(path, uri); if (!file.exists() || file.isFile()) return false; ... |