public class DirectoryTreeList
extends java.lang.Object
| Constructor and Description |
|---|
DirectoryTreeList() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<java.io.File> |
getFileListing(java.io.File startingDir,
boolean recurse)
Walk directory tree to get sorted of all files and directories.
|
static java.util.List<java.io.File> |
getFileListingUnsorted(java.io.File startingDir,
boolean recurse)
Walk directory tree to get unsorted list of all files and directories.
|
static java.util.List<FileInfo> |
getFiles(java.io.File startingDir,
boolean recurse)
Walk directory tree to get sorted list of FileInfo entries.
|
public static java.util.List<java.io.File> getFileListing(java.io.File startingDir,
boolean recurse)
throws java.io.FileNotFoundException
startingDir - Root directory to start walk.FileNotFounfExceptionjava.io.FileNotFoundExceptionpublic static java.util.List<java.io.File> getFileListingUnsorted(java.io.File startingDir,
boolean recurse)
throws java.io.FileNotFoundException
startingDir - Root directory to start walk.FileNotFounfExceptionjava.io.FileNotFoundExceptionpublic static java.util.List<FileInfo> getFiles(java.io.File startingDir, boolean recurse)