Package net.simplace.pipe.processors
Class DownloadFileProcessor
java.lang.Object
net.simplace.pipe.control.FWProcessor
net.simplace.pipe.processors.DownloadFileProcessor
reads one file ${url} to param ${targetDir}/${file}. 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
-
DownloadFileProcessor
public DownloadFileProcessor()
-
-
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
-