|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.filePiper.processors.NoOutputProcessor
public class NoOutputProcessor
Processor doing nothing with the input file and creating no ouput.
| Field Summary |
|---|
| Fields inherited from interface net.sf.filePiper.model.FileProcessor |
|---|
MANY, NONE, ONE |
| Constructor Summary | |
|---|---|
NoOutputProcessor()
|
|
| 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 |
getInputCardinality()
|
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 line,
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 NoOutputProcessor()
| 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 getInputCardinality()
public int getOutputCardinality(int inputCardinality)
FileProcessor
getOutputCardinality in interface FileProcessorinputCardinality - ONE or MANY.
public void process(InputStream is,
InputFileInfo line,
FileProcessorEnvironment env)
throws IOException
FileProcessor
process in interface FileProcessoris - the InputStream to processline - Information about the input file to processenv - object used by this FileProcessor to interact with its environment.
IOException - if something goes wrong.public 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 FileProcessorpublic net.sf.sfac.gui.editor.ObjectEditor getEditor()
FileProcessor
getEditor in interface FileProcessor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||