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 TypeMethodDescriptionDeprecated.getFullRecord(BufferedReader reader, RecordHandlingFlow flow, String firstPart) Deprecated.getRecordHandler(PipeLineSession session, String record) Deprecated.voidsetEndPosition(int i) Deprecated.If endPosition >= 0 then this field contains the endPosition (Java style, i.e the position of the next character) of the recordtype field in the record; All characters beyond this position are ignored.voidsetNewLineSeparated(boolean value) Deprecated.Iffalse, no newlines are expected, all records of the size specified in the flows are read from a single 'line'.voidsetStartPosition(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, setNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.frankframework.batch.IRecordHandlerManager
isInitial
-
Constructor Details
-
FixedPositionRecordHandlerManager
public FixedPositionRecordHandlerManager()Deprecated.
-
-
Method Details
-
getRecordHandler
Deprecated.- Specified by:
getRecordHandlerin interfaceIRecordHandlerManager- Overrides:
getRecordHandlerin classRecordHandlerManager- Returns:
- the RecordHandlingFlow element to be used to handle the record
- Throws:
Exception
-
getFirstPartOfNextRecord
Deprecated.- Specified by:
getFirstPartOfNextRecordin interfaceIRecordHandlerManager- Overrides:
getFirstPartOfNextRecordin classRecordHandlerManager- Returns:
- the first part of the next record, containing at least the key
- Throws:
IOException
-
getFullRecord
public String getFullRecord(BufferedReader reader, RecordHandlingFlow flow, String firstPart) throws IOException Deprecated.- Specified by:
getFullRecordin interfaceIRecordHandlerManager- Overrides:
getFullRecordin classRecordHandlerManager- Returns:
- expand the first part to the full record
- Throws:
IOException
-
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 (Java style, i.e the position of the next character) 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
-
setNewLineSeparated
public void setNewLineSeparated(boolean value) Deprecated.Iffalse, no newlines are expected, all records of the size specified in the flows are read from a single 'line'.- Default value
- true
-