net.sf.jomic.comic
Class ExtractComicTask
java.lang.Object
net.sf.jomic.tools.AbstractTask
net.sf.jomic.comic.ExtractComicTask
- All Implemented Interfaces:
- ProgressChangeListener, Task
public class ExtractComicTask
- extends AbstractTask
- implements ProgressChangeListener
Task to extract a comic independent of its format.
- Author:
- Thomas Aglassinger
- See Also:
ExtractPdfImagesTask,
ExtractRarTask,
ExtractZipTask
|
Method Summary |
void |
progressChanged(Task source)
Set progress to progress of source task, which does the actual extraction. |
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 |
ExtractComicTask
public ExtractComicTask(File newComicFile,
File newTargetFolder)
throws IOException
- Throws:
IOException
progressChanged
public void progressChanged(Task source)
- Set progress to progress of
source task, which does the actual extraction.
- Specified by:
progressChanged in interface ProgressChangeListener
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