net.sf.jomic.tools
Class ExtractZipTask
java.lang.Object
net.sf.jomic.tools.AbstractTask
net.sf.jomic.tools.ExtractZipTask
- All Implemented Interfaces:
- Task
public class ExtractZipTask
- extends AbstractTask
Task to extract contents of a ZIP file to a target folder.
- Author:
- Thomas Aglassinger
|
Constructor Summary |
ExtractZipTask(File newSourceZipFile,
File newTargetFolder)
Create a new task to extract newSourceZipFile to newTargetFolder. |
|
Method Summary |
void |
start()
Start the task, which will cause the progress to iterate from 0 to getMaximum. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExtractZipTask
public ExtractZipTask(File newSourceZipFile,
File newTargetFolder)
- Create a new task to extract
newSourceZipFile to newTargetFolder.
- Parameters:
newSourceZipFile - Description of the parameternewTargetFolder - Description of the parameter
start
public void start()
throws Exception
- Description copied from interface:
Task
- Start the task, which will cause the progress to iterate from 0 to
getMaximum.
- Specified by:
start in interface Task- Specified by:
start in class AbstractTask
- Throws:
Exception