Package org.frankframework.batch
Class Result2StringWriter
java.lang.Object
org.frankframework.batch.AbstractResultHandler
org.frankframework.batch.ResultWriter
org.frankframework.batch.Result2StringWriter
- All Implemented Interfaces:
IResultHandler,FrankElement,HasApplicationContext,HasName,IConfigurable,IScopeProvider,IWithParameters,NameAware,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
- Direct Known Subclasses:
ResultBlock2Sender
Deprecated.
Warning: non-maintained functionality.
Resulthandler that writes the transformed record to a String, that is passed to the next Pipe literally.
- Since:
- 4.7
- Author:
- Gerrit van Brakel
-
Field Summary
Fields inherited from class org.frankframework.batch.AbstractResultHandler
log, paramList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected WritercreateWriter(PipeLineSession session, String streamId) Deprecated.finalizeResult(PipeLineSession session, String streamId, boolean error) Deprecated.Called when all records in the original file are handled.Methods inherited from class org.frankframework.batch.ResultWriter
closeBlock, closeDocument, closeRecordType, getWriter, handleResult, openBlock, openDocument, openRecordType, replacePattern, setBlockNamePattern, setOnCloseBlock, setOnCloseDocument, setOnOpenBlock, setOnOpenDocument, writeNewLineMethods inherited from class org.frankframework.batch.AbstractResultHandler
addParameter, close, configure, getParameterList, hasPrefix, isDefault, open, setBlockByRecordType, setDefault, setName, setPipe, setPrefix, setSuffixMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationContextAware
setApplicationContextMethods inherited from interface org.frankframework.core.FrankElement
addConfigWarningMethods inherited from interface org.frankframework.core.HasApplicationContext
getApplicationContext, getConfigurationClassLoaderMethods inherited from interface org.frankframework.batch.IResultHandler
isBlockByRecordType
-
Constructor Details
-
Result2StringWriter
public Result2StringWriter()Deprecated.
-
-
Method Details
-
createWriter
Deprecated.- Specified by:
createWriterin classResultWriter- Throws:
Exception
-
finalizeResult
public String finalizeResult(PipeLineSession session, String streamId, boolean error) throws Exception Deprecated.Description copied from interface:IResultHandlerCalled when all records in the original file are handled.- Specified by:
finalizeResultin interfaceIResultHandler- Overrides:
finalizeResultin classResultWriter- Parameters:
session- current PipeLineSessionstreamId- identification of the original file/stream/message containing the untransformed records- Returns:
- the name or names of the output files
- Throws:
Exception
-