net.sf.jomic.tools
Class ExtractRarTask

java.lang.Object
  extended by net.sf.jomic.tools.AbstractTask
      extended by net.sf.jomic.tools.ExtractRarTask
All Implemented Interfaces:
Task

public class ExtractRarTask
extends AbstractTask

Task to extract contents of a RAR file to a target folder.

Author:
Thomas Aglassinger

Constructor Summary
ExtractRarTask(java.io.File newRarFile, java.io.File 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

ExtractRarTask

public ExtractRarTask(java.io.File newRarFile,
                      java.io.File newTargetFolder)
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