Package net.simplace.pipe.processors
Class ReadFileProcessor
java.lang.Object
net.simplace.pipe.control.FWProcessor
net.simplace.pipe.processors.ReadFileProcessor
reads one file ${sourceFile} to param ${resultParamKey}. Additionally you can use ${resultParamKey}.file
to get the filename read from parameters.
Use 'encoding'-Parameter if you want a special encoding to be used
- Author:
- Andreas Enders
-
Field Summary
Fields inherited from class net.simplace.pipe.control.FWProcessor
iAllreadyLoopedCount, iContainer, iInObservable, iObservable, iProgressTasks -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanCan be overridden to perform semantic checks on the pipeline Input.booleanprocess()Must be overridden to implement concrete pipe procedure.Methods inherited from class net.simplace.pipe.control.FWProcessor
checkOutParameterMap, clone, containsParameter, createProcessor, createProcessor, fireTaskEvent, getAllStringInParameters, getConfiguration, getInitialParameters, getInParameter, getInParameter, getInParameters, getNewProgressTask, getOutParameter, getOutParameterKeys, getPipeLine, getProgressTask, getStringInParameter, getStringInParameter, getSystemID, hasConfiguration, isEndOfPipe, pipe, removeOutParameter, setConfiguration, setEndOfPipeFlag, setInitialParameters, setInParameterMap, setLoopedCount, setOutParameter, setStateOfTask, setStateProgressing, toXML
-
Constructor Details
-
ReadFileProcessor
public ReadFileProcessor()
-
-
Method Details
-
process
Must be overridden to implement concrete pipe procedure.- Specified by:
processin classFWProcessor- Returns:
- success
- Throws:
PipeLineException
-
checkInParameterMap
protected boolean checkInParameterMap()Description copied from class:FWProcessorCan be overridden to perform semantic checks on the pipeline Input.- Overrides:
checkInParameterMapin classFWProcessor- Returns:
- true if not overridden by implementations
-