edu.umd.hooka
Class FileListing
java.lang.Object
edu.umd.hooka.FileListing
public final class FileListing
- extends Object
|
Method Summary |
static List<File> |
getFileListing(File aStartingDir)
Recursively walk a directory tree and return a List of all
Files found; the List is sorted using File.compareTo. |
static void |
main(String... aArgs)
Demonstrate use. |
FileListing
public FileListing()
main
public static void main(String... aArgs)
throws FileNotFoundException
- Demonstrate use.
- Parameters:
aArgs - - aArgs[0] is the full name of an existing directory,
that can be read
- Throws:
FileNotFoundException
getFileListing
public static List<File> getFileListing(File aStartingDir)
throws FileNotFoundException
- Recursively walk a directory tree and return a List of all
Files found; the List is sorted using File.compareTo.
- Parameters:
aStartingDir - is a valid directory, which can be read.
- Throws:
FileNotFoundException