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
AParserFactoryfor 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 FieldFormatcreateFieldFormat(FieldConfig config, java.lang.Class<?> type)Creates a format specificFieldFormat.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
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: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
-
-