|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.pipet.api.AbstractModule
net.sf.pipet.api.VersionedModule
net.sf.pipet.api.DefaultModuleInterface
net.sf.pipet.api.SimpleInputOutputModule
net.sf.pipet.api.InputOutputModule
public abstract class InputOutputModule
Abstract base class for a PipeT module.
Subclasses must provide a title and a description via the constructor, and implement run(java.io.InputStream[], java.io.OutputStream, net.sf.pipet.api.ModuleAttributes, net.sf.qxs.messenger.Messenger).
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface net.sf.pipet.api.ModuleInterface |
|---|
ModuleInterface.ModuleConfigurator, ModuleInterface.ModuleInstance |
| Field Summary |
|---|
| Fields inherited from class net.sf.pipet.api.SimpleInputOutputModule |
|---|
INPUT_NAME, OUTPUT_NAME |
| Fields inherited from interface net.sf.pipet.api.ModuleInterface |
|---|
ATT_PIPELINE_NAME, FAIL_CONFIGURATOR, UI_GUI, UI_NONINTERACTIVE |
| Constructor Summary | |
|---|---|
InputOutputModule(String title,
String description)
|
|
InputOutputModule(String title,
String description,
String input_type,
String output_type)
|
|
| Method Summary | |
|---|---|
boolean |
run(InputStream[] iss,
OutputStream os,
ModuleAttributes atts,
net.sf.qxs.messenger.Messenger messenger)
Runs the module in a pipeline. |
abstract boolean |
run(InputStream is,
OutputStream os,
ModuleAttributes atts,
net.sf.qxs.messenger.Messenger messenger)
|
| Methods inherited from class net.sf.pipet.api.SimpleInputOutputModule |
|---|
createInstance, getDescription, getInputPipeTypes, getInputType, getOutputPipeTypes, getOutputType, getTitle |
| Methods inherited from class net.sf.pipet.api.DefaultModuleInterface |
|---|
getInstallationConfigurator, getPipelineConfigurator, getRuntimeConfigurator |
| Methods inherited from class net.sf.pipet.api.VersionedModule |
|---|
getAPIVersionString |
| Methods inherited from class net.sf.pipet.api.AbstractModule |
|---|
getGlobalParameters, getInputPipeNames, getLeftOver, getOutputPipeNames, getPipelineParameters, getPipeTypes, getRuntimeParameters, isAvailable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InputOutputModule(String title,
String description)
public InputOutputModule(String title,
String description,
String input_type,
String output_type)
| Method Detail |
|---|
public boolean run(InputStream[] iss,
OutputStream os,
ModuleAttributes atts,
net.sf.qxs.messenger.Messenger messenger)
SimpleInputOutputModule
run in class SimpleInputOutputModuleiss - the module's input.os - the module's output.atts - parameters for the module.messenger - a Messenger object for sending messages back to the user.
public abstract boolean run(InputStream is,
OutputStream os,
ModuleAttributes atts,
net.sf.qxs.messenger.Messenger messenger)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||