net.sf.jomic.comic
Class CreateComicTask
java.lang.Object
net.sf.jomic.tools.AbstractTask
net.sf.jomic.comic.CreateComicTask
- All Implemented Interfaces:
- ProgressChangeListener, Task
public class CreateComicTask
- extends AbstractTask
- implements ProgressChangeListener
Task to create a comic.
- Author:
- Thomas Aglassinger.
Constructor Summary |
CreateComicTask(java.io.File sourceFolder,
java.lang.String[] imageNames,
java.io.File targetComic,
Conversion conversion)
|
CreateComicTask(java.io.File sourceFolder,
java.lang.String[] imageNames,
java.io.File targetComic,
java.lang.String targetFormat)
|
CreateComicTask(java.io.File sourceFolder,
java.lang.String[] imageNames,
java.util.Map imageInfoMap,
java.io.File targetComic,
Conversion conversion)
|
Method Summary |
void |
progressChanged(Task source)
|
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 |
CreateComicTask
public CreateComicTask(java.io.File sourceFolder,
java.lang.String[] imageNames,
java.io.File targetComic,
java.lang.String targetFormat)
CreateComicTask
public CreateComicTask(java.io.File sourceFolder,
java.lang.String[] imageNames,
java.io.File targetComic,
Conversion conversion)
CreateComicTask
public CreateComicTask(java.io.File sourceFolder,
java.lang.String[] imageNames,
java.util.Map imageInfoMap,
java.io.File targetComic,
Conversion conversion)
progressChanged
public void progressChanged(Task source)
- Specified by:
progressChanged
in interface ProgressChangeListener
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