Package org.frankframework.batch
Interface IRecordHandler
- All Superinterfaces:
org.springframework.context.ApplicationContextAware
,org.springframework.beans.factory.Aware
,FrankElement
,HasApplicationContext
,HasName
,IConfigurable
,IScopeProvider
,NameAware
- All Known Implementing Classes:
AbstractRecordHandler
,RecordTransformer
,RecordXml2Sender
,RecordXmlTransformer
@FrankDocGroup(BATCH)
public interface IRecordHandler
extends IConfigurable, FrankElement, NameAware
Interface for transforming a record (= structured ASCII line).
- Author:
- John Dekker
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
getRecordType
(List<String> record) handleRecord
(PipeLineSession session, List<String> parsedRecord) Perform an action on the array of fields.boolean
isNewRecordType
(PipeLineSession session, boolean equalRecordTypes, List<String> prevRecord, List<String> curRecord) void
open()
parse
(PipeLineSession session, String record) Parse the line into an array of fields.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.core.IConfigurable
configure
-
Method Details
-
open
- Throws:
SenderException
-
close
- Throws:
SenderException
-
parse
Parse the line into an array of fields.- Returns:
- List with String values for each inputfield
- Throws:
Exception
-
handleRecord
Perform an action on the array of fields.- Returns:
- transformed result
- Throws:
Exception
-
isNewRecordType
boolean isNewRecordType(PipeLineSession session, boolean equalRecordTypes, List<String> prevRecord, List<String> curRecord) throws Exception - Throws:
Exception
-
getRecordType
-