|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.filePiper.processors.Pdf2JpegProcessor
public class Pdf2JpegProcessor
Processor extracting Jpeg images from Pdf files.
| Field Summary |
|---|
| Fields inherited from interface net.sf.filePiper.model.FileProcessor |
|---|
MANY, NONE, ONE |
| Constructor Summary | |
|---|---|
Pdf2JpegProcessor()
|
|
| Method Summary | |
|---|---|
void |
endBatch(FileProcessorEnvironment env)
Notification that the current batch is finished. |
net.sf.sfac.gui.editor.ObjectEditor |
getEditor()
Get a GUI editor for this object. |
int |
getOutputCardinality(int inputCardinality)
Get the number of output streams generated for the given number of input streams. |
String |
getProcessorName()
|
String |
getStatusMessage()
Get the status of this processor to display in the status bar of the GUI during file processing. |
void |
init(net.sf.sfac.setting.Settings sett)
Initialize this file processor just after instantiation (called only once). |
void |
process(InputStream is,
InputFileInfo info,
FileProcessorEnvironment env)
Request to process the given input stream. |
void |
startBatch(FileProcessorEnvironment env)
Notification that the processing of a batch of file is starting. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Pdf2JpegProcessor()
| Method Detail |
|---|
public String getProcessorName()
getProcessorName in interface FileProcessorpublic void init(net.sf.sfac.setting.Settings sett)
FileProcessor
init in interface FileProcessorsett - Settings for this FileProcessor instance.public int getOutputCardinality(int inputCardinality)
FileProcessor
getOutputCardinality in interface FileProcessorinputCardinality - ONE or MANY.
public void process(InputStream is,
InputFileInfo info,
FileProcessorEnvironment env)
throws IOException
FileProcessor
process in interface FileProcessoris - the InputStream to processinfo - Information about the input file to processenv - object used by this FileProcessor to interact with its environment.
IOException - if something goes wrong.public net.sf.sfac.gui.editor.ObjectEditor getEditor()
FileProcessor
getEditor in interface FileProcessorpublic void startBatch(FileProcessorEnvironment env)
FileProcessor
startBatch in interface FileProcessorpublic void endBatch(FileProcessorEnvironment env)
FileProcessor
endBatch in interface FileProcessorpublic String getStatusMessage()
FileProcessorWarning: this method is called in a different Thread from the processing Thread (the Thread calling the process(..) method). It is usually called from the swing EventDispatchThread. So, be aware of possible threading synchronization problems while accessing the instance variables of your class.
getStatusMessage in interface FileProcessor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||