net.chaosserver.bilbo.task.clean
Class CleanTask
java.lang.Object
|
+--net.chaosserver.bilbo.task.BaseTask
|
+--net.chaosserver.bilbo.task.RecursiveTask
|
+--net.chaosserver.bilbo.task.RootFirstRecursiveTask
|
+--net.chaosserver.bilbo.task.clean.CleanTask
- All Implemented Interfaces:
- Task
- public class CleanTask
- extends RootFirstRecursiveTask
Cleans the mapping files out of a directory.
- Since:
- Bilbo 2.0
Method Summary |
void |
execute(File currentDirectory)
Deletes the mapping file out of the directory given. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CleanTask
public CleanTask()
execute
public void execute(File currentDirectory)
throws CleanException
- Deletes the mapping file out of the directory given.
- Specified by:
execute
in class RecursiveTask
- Parameters:
currentDirectory
- directory to clean the mapping file from
- Throws:
CleanException
- if something goes wrong.
Copyright © 20030415