net.sf.jomic.tools
Class CreateImagInfoMapTask

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

public class CreateImagInfoMapTask
extends AbstractTask

Task to obtain image sizes from a list of image files.

Author:
Thomas Aglassinger

Constructor Summary
CreateImagInfoMapTask(java.io.File[] newImageFiles)
           
 
Method Summary
 java.util.Map getImageInfoMap()
          Get map where the key is an image file and the value is an ImageInfo.
 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

CreateImagInfoMapTask

public CreateImagInfoMapTask(java.io.File[] newImageFiles)
Method Detail

getImageInfoMap

public java.util.Map getImageInfoMap()
Get map where the key is an image file and the value is an ImageInfo.

See Also:
ImageInfo

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