net.sf.jomic.tools
Class CopyDirTask

java.lang.Object
  extended by net.sf.jomic.tools.AbstractTask
      extended by net.sf.jomic.tools.NestedTask
          extended by net.sf.jomic.tools.CopyDirTask
All Implemented Interfaces:
ProgressChangeListener, Task

public class CopyDirTask
extends NestedTask

Task to recursively copy all files and directories in newSourceDir to newTargetDir .

Author:
Thomas Aglassinger

Constructor Summary
CopyDirTask(File newSourceDir, File newTargetDir)
           
 
Method Summary
 void start()
          Run the sub-tasks.
 
Methods inherited from class net.sf.jomic.tools.NestedTask
progressChanged
 
Methods inherited from class net.sf.jomic.tools.AbstractTask
addProgressChangeListener, getMaxProgress, getProgress, getProgressMessage, isInterrupted, removeProgressChangeListener, setMaxProgress, setProgress, setProgressMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CopyDirTask

public CopyDirTask(File newSourceDir,
                   File newTargetDir)
Method Detail

start

public void start()
           throws Exception
Description copied from class: NestedTask
Run the sub-tasks.

Specified by:
start in interface Task
Overrides:
start in class NestedTask
Throws:
Exception