org.curjent.example.agent.filecopy
Class FileCopyTest

java.lang.Object
  extended by org.curjent.example.agent.filecopy.FileCopyTest

public class FileCopyTest
extends Object

The test driver takes two arguments, a source directory and a target directory. It recursively scans and copies files from the source directory to the target directory.


Constructor Summary
FileCopyTest()
           
 
Method Summary
private static void copy(FileCopy copier, File sourceDir, File targetDir)
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileCopyTest

public FileCopyTest()
Method Detail

main

public static void main(String[] args)

copy

private static void copy(FileCopy copier,
                         File sourceDir,
                         File targetDir)


Copyright 2009-2011 Tom Landon
Apache License 2.0