Package org.frankframework.batch
Class Result2Filewriter
java.lang.Object
org.frankframework.batch.AbstractResultHandler
org.frankframework.batch.ResultWriter
org.frankframework.batch.Result2Filewriter
- All Implemented Interfaces:
IResultHandler
,FrankElement
,HasApplicationContext
,HasName
,IConfigurable
,IScopeProvider
,IWithParameters
,NameAware
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
Deprecated.
Warning: non-maintained functionality.
Resulthandler that writes the transformed record to a file.
- Author:
- John Dekker
-
Field Summary
Fields inherited from class org.frankframework.batch.AbstractResultHandler
log, paramList
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
closeDocument
(PipeLineSession session, String streamId) Deprecated.protected 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.void
setFilenamePattern
(String string) Deprecated.Name of the file is created using the messageformat.void
setMove2dirAfterFinalize
(String string) Deprecated.Directory to which the created file must be moved after finalization (is optional)void
setOutputDirectory
(String string) Deprecated.Directory in which the resultfile must be storedMethods inherited from class org.frankframework.batch.ResultWriter
closeBlock, 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
-
Result2Filewriter
public Result2Filewriter()Deprecated.
-
-
Method Details
-
createWriter
Deprecated.- Specified by:
createWriter
in classResultWriter
- Throws:
Exception
-
closeDocument
Deprecated.- Specified by:
closeDocument
in interfaceIResultHandler
- Overrides:
closeDocument
in classResultWriter
-
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
-
setOutputDirectory
Deprecated.Directory in which the resultfile must be stored -
setMove2dirAfterFinalize
Deprecated.Directory to which the created file must be moved after finalization (is optional) -
setFilenamePattern
Deprecated.Name of the file is created using the messageformat. Params: 1=inputfilename, 2=extension of file, 3=current date
-