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
AParserFactory
for 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 FieldFormat
createFieldFormat(FieldConfig config, java.lang.Class<?> type)
Creates a format specificFieldFormat
.protected Preprocessor
createPreprocessor(StreamConfig config)
Creates a stream configuration pre-processor.RecordFormat
createRecordFormat(RecordConfig config)
Creates a format specificRecordFormat
.StreamFormat
createStreamFormat(StreamConfig config)
Creates a format specificStreamFormat
.protected RecordParserFactory
getDefaultRecordParserFactory()
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:ParserFactorySupport
Creates a stream configuration pre-processor. May be overridden to return a format specific version.- Overrides:
createPreprocessor
in classFlatParserFactory
- Parameters:
config
- the stream configuration to pre-process- Returns:
- the new
Preprocessor
-
createStreamFormat
public StreamFormat createStreamFormat(StreamConfig config)
Description copied from class:ParserFactorySupport
Creates a format specificStreamFormat
.- Specified by:
createStreamFormat
in classParserFactorySupport
- Parameters:
config
- the stream configuration- Returns:
- the new
StreamFormat
-
createRecordFormat
public RecordFormat createRecordFormat(RecordConfig config)
Description copied from class:ParserFactorySupport
Creates a format specificRecordFormat
.- Specified by:
createRecordFormat
in classParserFactorySupport
- Parameters:
config
- the record configuration- Returns:
- the new
RecordFormat
-
createFieldFormat
public FieldFormat createFieldFormat(FieldConfig config, java.lang.Class<?> type)
Description copied from class:ParserFactorySupport
Creates a format specificFieldFormat
.- Specified by:
createFieldFormat
in 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:ParserFactorySupport
Returns the defaultRecordParserFactory
.- Specified by:
getDefaultRecordParserFactory
in classParserFactorySupport
- Returns:
- the
RecordParserFactory
-
-