public class FixedLengthPreprocessor extends FlatPreprocessor
Preprocessor
for a fixed length stream format.propertyRoot, stream
Constructor and Description |
---|
FixedLengthPreprocessor(StreamConfig stream)
Constructs a new FixedLengthPreprocessor.
|
Modifier and Type | Method and Description |
---|---|
protected int |
getSize(FieldConfig field)
Returns the size of a field.
|
protected boolean |
isFixedLength()
Returns whether the stream format is fixed length.
|
finalizeRecord, finalizeSegment, handleField, initializeRecord, initializeSegment
finalizeGroup, finalizeStream, handleConstant, initializeGroup, initializeStream, validateRecordIdentifyingCriteria
getParent, handleComponent, process
public FixedLengthPreprocessor(StreamConfig stream)
stream
- the stream configuration to pre-processprotected int getSize(FieldConfig field)
FlatPreprocessor
getSize
in class FlatPreprocessor
field
- the field to sizeprotected boolean isFixedLength()
FlatPreprocessor
isFixedLength
in class FlatPreprocessor