net.sf.jomic.tools
Class ExtractPdfImagesTask

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

public class ExtractPdfImagesTask
extends AbstractTask

Task to extract all images from a PDF file to a specified target folder. The images will be named "00.jpg", "01.jpg" and so on, with the actual number of digits depending on the number of images in the PDF.

Author:
Thomas Aglassinger

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

ExtractPdfImagesTask

public ExtractPdfImagesTask(java.io.File newPdfFile,
                            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