|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jomic.tools.AbstractTask net.sf.jomic.comic.ConvertImageTask
public class ConvertImageTask
Task to convert a source image to a target image according to a Conversion
.
Conversion
Constructor Summary | |
---|---|
ConvertImageTask(java.io.File newSourceImageFile,
java.io.File newTargetImageFile,
Conversion newConversion)
|
Method Summary | |
---|---|
void |
progressChanged(Task source)
In case the image just needs to be copied, set progress to value from CopyFileTask
. |
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 |
---|
public ConvertImageTask(java.io.File newSourceImageFile, java.io.File newTargetImageFile, Conversion newConversion)
Method Detail |
---|
public void progressChanged(Task source)
CopyFileTask
.
progressChanged
in interface ProgressChangeListener
CopyFileTask
public void start() throws java.io.IOException
Task
getMaximum
.
start
in interface Task
start
in class AbstractTask
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |