net.sf.jomic.tools
Class CopyDirTask
java.lang.Object
net.sf.jomic.tools.AbstractTask
net.sf.jomic.tools.NestedTask
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
|
Method Summary |
void |
start()
Run the sub-tasks. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CopyDirTask
public CopyDirTask(File newSourceDir,
File newTargetDir)
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