net.sf.jomic.tools
Class ExtractZipTask

java.lang.Object
  extended by net.sf.jomic.tools.AbstractTask
      extended by 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(java.io.File newSourceZipFile, java.io.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 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

ExtractZipTask

public ExtractZipTask(java.io.File newSourceZipFile,
                      java.io.File newTargetFolder)
Create a new task to extract newSourceZipFile to newTargetFolder.

Parameters:
newSourceZipFile - Description of the parameter
newTargetFolder - Description of the parameter
Method Detail

start

public void start()
           throws java.lang.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:
java.lang.Exception