Class DelimitedParserFactory
- java.lang.Object
-
- org.beanio.internal.compiler.ProcessorSupport
-
- org.beanio.internal.compiler.ParserFactorySupport
-
- org.beanio.internal.compiler.flat.FlatParserFactory
-
- org.beanio.internal.compiler.delimited.DelimitedParserFactory
-
- All Implemented Interfaces:
ParserFactory
- Direct Known Subclasses:
CsvParserFactory
public class DelimitedParserFactory extends FlatParserFactory
AParserFactory
for the delimited stream format.- Since:
- 2.0
-
-
Constructor Summary
Constructors Constructor Description DelimitedParserFactory()
-
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
.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
createPreprocessor, 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
-
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
-
-