Package org.frankframework.batch
Class FixedPositionRecordHandlerManager
java.lang.Object
org.frankframework.batch.RecordHandlerManager
org.frankframework.batch.FixedPositionRecordHandlerManager
- All Implemented Interfaces:
IRecordHandlerManager
,HasName
,NameAware
Deprecated.
Warning: non-maintained functionality.
Manager that decides the handlers based on the content of a field in the specified
position in a record. The fields in the record are of a fixed length.
The data beween the start position and end position is taken as key in the flow-table.
- Author:
- John Dekker
-
Field Summary
Fields inherited from class org.frankframework.batch.RecordHandlerManager
log
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRecordHandler
(PipeLineSession session, String record) Deprecated.void
setEndPosition
(int i) Deprecated.If endposition >= 0 then this field contains the endPosition of the recordtype field in the record; All characters beyond this position are ignored.void
setStartPosition
(int i) Deprecated.Start position of the field in the record that identifies the recordtype (first character is 0)Methods inherited from class org.frankframework.batch.RecordHandlerManager
addHandler, configure, getFlowMap, getRecordFactoryUsingFilename, getRecordHandlerByKey, setInitial, setName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.frankframework.batch.IRecordHandlerManager
isInitial
-
Constructor Details
-
FixedPositionRecordHandlerManager
public FixedPositionRecordHandlerManager()Deprecated.
-
-
Method Details
-
getRecordHandler
Deprecated.- Specified by:
getRecordHandler
in interfaceIRecordHandlerManager
- Overrides:
getRecordHandler
in classRecordHandlerManager
- Returns:
- the RecordHandlingFlow element to be used to handle the record
- Throws:
Exception
-
setStartPosition
public void setStartPosition(int i) Deprecated.Start position of the field in the record that identifies the recordtype (first character is 0)- Default value
- 0
-
setEndPosition
public void setEndPosition(int i) Deprecated.If endposition >= 0 then this field contains the endPosition of the recordtype field in the record; All characters beyond this position are ignored. Else, if endPosition < 0 then it depends on the length of the recordkey in the flow- Default value
- -1
-