bg.bas.dcl.CorpusTools
Class CorpusSelector

java.lang.Object
  extended by bg.bas.dcl.CorpusTools.CorpusSelector

public class CorpusSelector
extends java.lang.Object


Constructor Summary
CorpusSelector()
           
 
Method Summary
static void copyFile(java.io.File from, java.io.File to)
           
static java.util.List<java.io.File> getFileListing(java.io.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(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CorpusSelector

public CorpusSelector()
Method Detail

copyFile

public static void copyFile(java.io.File from,
                            java.io.File to)
                     throws java.io.IOException
Throws:
java.io.IOException

main

public static void main(java.lang.String[] args)
Parameters:
args -

getFileListing

public static java.util.List<java.io.File> getFileListing(java.io.File aStartingDir)
                                                   throws java.io.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:
java.io.FileNotFoundException