edu.umd.hooka
Class FileListing

java.lang.Object
  extended by edu.umd.hooka.FileListing

public final class FileListing
extends Object


Constructor Summary
FileListing()
           
 
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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileListing

public FileListing()
Method Detail

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