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 TypeMethodDescriptionvoidcloseDocument(PipeLineSession session, String streamId) Deprecated.protected WritercreateWriter(PipeLineSession session, String streamId) Deprecated.finalizeResult(PipeLineSession session, String streamId, boolean error) Deprecated.Called when all records in the original file are handled.voidsetFilenamePattern(String string) Deprecated.Name of the file is created using the messageformat.voidsetMove2dirAfterFinalize(String string) Deprecated.Directory to which the created file must be moved after finalization (is optional)voidsetOutputDirectory(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, 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
-
Result2Filewriter
public Result2Filewriter()Deprecated.
-
-
Method Details
-
createWriter
Deprecated.- Specified by:
createWriterin classResultWriter- Throws:
Exception
-
closeDocument
Deprecated.- Specified by:
closeDocumentin interfaceIResultHandler- Overrides:
closeDocumentin classResultWriter
-
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
-
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
-