lacam.processes
Class DefaultPreprocess

java.lang.Object
  extended bylacam.processes.DefaultPreprocess
All Implemented Interfaces:
Preprocess, Process

public class DefaultPreprocess
extends java.lang.Object
implements Preprocess

This class pipes data coming from the datasource to the modelmanager without any manipulation. The data is stored in a byte[][].

Author:
Dimitrij Zub

Field Summary
 
Fields inherited from interface lacam.interfaces.Process
ANALYSIS, DATASOURCE, DATATARGET, MODELMANAGER, PARAMKEY_LANGUAGE_PACK, PARAMKEY_PLUGIN_NAME, POSTPROCESS, PREPROCESS, USERINTERFACE
 
Constructor Summary
DefaultPreprocess()
           
 
Method Summary
 void init(java.util.Properties parametermap)
          the initialisation of a process instance the described parameterlist will be given here
 java.lang.Object[] makeModel(Datasource[] datasources)
          creates a data model from the byte[] data representation
 void reinit()
          called, if a process threw the goBackException
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPreprocess

public DefaultPreprocess()
Method Detail

init

public void init(java.util.Properties parametermap)
Description copied from interface: Process
the initialisation of a process instance the described parameterlist will be given here

Specified by:
init in interface Process

makeModel

public java.lang.Object[] makeModel(Datasource[] datasources)
Description copied from interface: Preprocess
creates a data model from the byte[] data representation

Specified by:
makeModel in interface Preprocess

reinit

public void reinit()
Description copied from interface: Process
called, if a process threw the goBackException

Specified by:
reinit in interface Process