Class FixedLengthParserFactory
- java.lang.Object
-
- org.beanio.internal.compiler.ProcessorSupport
-
- org.beanio.internal.compiler.ParserFactorySupport
-
- org.beanio.internal.compiler.flat.FlatParserFactory
-
- org.beanio.internal.compiler.fixedlength.FixedLengthParserFactory
-
- All Implemented Interfaces:
ParserFactory
public class FixedLengthParserFactory extends FlatParserFactory
AParserFactoryfor the fixed length stream format.- Since:
- 2.0
-
-
Constructor Summary
Constructors Constructor Description FixedLengthParserFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldFormatcreateFieldFormat(FieldConfig config, java.lang.Class<?> type)Creates a format specificFieldFormat.protected PreprocessorcreatePreprocessor(StreamConfig config)Creates a stream configuration pre-processor.RecordFormatcreateRecordFormat(RecordConfig config)Creates a format specificRecordFormat.StreamFormatcreateStreamFormat(StreamConfig config)Creates a format specificStreamFormat.protected RecordParserFactorygetDefaultRecordParserFactory()Returns the defaultRecordParserFactory.-
Methods inherited from class org.beanio.internal.compiler.flat.FlatParserFactory
finalizeRecord
-
Methods inherited from class org.beanio.internal.compiler.ParserFactorySupport
createAggregation, createProperty, createRecordAggregation, createRecordParserFactory, createStream, finalizeGroup, finalizeGroup, finalizeGroupIteration, finalizeGroupMain, finalizeRecord, finalizeRecordIteration, finalizeRecordMain, finalizeSegment, finalizeSegment, finalizeSegmentIteration, finalizeSegmentMain, finalizeStream, getBeanClass, getField, handleConstant, handleField, initializeGroup, initializeGroupIteration, initializeGroupMain, initializeRecord, initializeRecordIteration, initializeRecordMain, initializeSegment, initializeSegmentIteration, initializeSegmentMain, initializeStream, isBound, isReadEnabled, isSegmentRequired, isWriteEnabled, parseDefaultValue, popParser, popProperty, pushParser, pushProperty, reflectAggregationType, reflectCollectionType, reflectPropertyType, reflectRecordAggregationType, setClassLoader, setTypeHandlerFactory, updateConstructor
-
Methods inherited from class org.beanio.internal.compiler.ProcessorSupport
getParent, handleComponent, process
-
-
-
-
Method Detail
-
createPreprocessor
protected Preprocessor createPreprocessor(StreamConfig config)
Description copied from class:ParserFactorySupportCreates a stream configuration pre-processor. May be overridden to return a format specific version.- Overrides:
createPreprocessorin classFlatParserFactory- Parameters:
config- the stream configuration to pre-process- Returns:
- the new
Preprocessor
-
createStreamFormat
public StreamFormat createStreamFormat(StreamConfig config)
Description copied from class:ParserFactorySupportCreates a format specificStreamFormat.- Specified by:
createStreamFormatin classParserFactorySupport- Parameters:
config- the stream configuration- Returns:
- the new
StreamFormat
-
createRecordFormat
public RecordFormat createRecordFormat(RecordConfig config)
Description copied from class:ParserFactorySupportCreates a format specificRecordFormat.- Specified by:
createRecordFormatin classParserFactorySupport- Parameters:
config- the record configuration- Returns:
- the new
RecordFormat
-
createFieldFormat
public FieldFormat createFieldFormat(FieldConfig config, java.lang.Class<?> type)
Description copied from class:ParserFactorySupportCreates a format specificFieldFormat.- Specified by:
createFieldFormatin classParserFactorySupport- Parameters:
config- the field configurationtype- the property type, or null if not bound to a property- Returns:
- the new
FieldFormat
-
getDefaultRecordParserFactory
protected RecordParserFactory getDefaultRecordParserFactory()
Description copied from class:ParserFactorySupportReturns the defaultRecordParserFactory.- Specified by:
getDefaultRecordParserFactoryin classParserFactorySupport- Returns:
- the
RecordParserFactory
-
-