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 Writer
createWriter
(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, writeNewLine
Methods inherited from class org.frankframework.batch.AbstractResultHandler
addParameter, close, configure, getParameterList, hasPrefix, isDefault, open, setBlockByRecordType, setDefault, setName, setPipe, setPrefix, setSuffix
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.context.ApplicationContextAware
setApplicationContext
Methods inherited from interface org.frankframework.core.HasApplicationContext
getApplicationContext, getConfigurationClassLoader
Methods inherited from interface org.frankframework.batch.IResultHandler
isBlockByRecordType
-
Constructor Details
-
Result2StringWriter
public Result2StringWriter()Deprecated.
-
-
Method Details
-
createWriter
Deprecated.- Specified by:
createWriter
in classResultWriter
- Throws:
Exception
-
finalizeResult
public String finalizeResult(PipeLineSession session, String streamId, boolean error) throws Exception Deprecated.Description copied from interface:IResultHandler
Called when all records in the original file are handled.- Specified by:
finalizeResult
in interfaceIResultHandler
- Overrides:
finalizeResult
in 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
-