org.beanio.internal.compiler.flat
Class FlatParserFactory
java.lang.Object
org.beanio.internal.compiler.ProcessorSupport
org.beanio.internal.compiler.ParserFactorySupport
org.beanio.internal.compiler.flat.FlatParserFactory
- All Implemented Interfaces:
- ParserFactory
- Direct Known Subclasses:
- DelimitedParserFactory, FixedLengthParserFactory
public abstract class FlatParserFactory
- extends ParserFactorySupport
Base class for flat file format parser factories including CSV, delimited and fixed
length formats.
- Since:
- 2.0
- Author:
- Kevin Seim
Methods inherited from class org.beanio.internal.compiler.ParserFactorySupport |
createAggregation, createFieldFormat, createProperty, createRecordAggregation, createRecordFormat, createRecordParserFactory, createStream, createStreamFormat, finalizeGroup, finalizeGroup, finalizeGroupIteration, finalizeGroupMain, finalizeRecord, finalizeRecordIteration, finalizeRecordMain, finalizeSegment, finalizeSegment, finalizeSegmentIteration, finalizeSegmentMain, finalizeStream, getBeanClass, getDefaultRecordParserFactory, getField, handleConstant, handleField, initializeGroup, initializeGroupIteration, initializeGroupMain, initializeRecord, initializeRecordIteration, initializeRecordMain, initializeSegment, initializeSegmentIteration, initializeSegmentMain, initializeStream, isBound, isReadEnabled, isSegmentRequired, isWriteEnabled, parseDefaultValue, popParser, popProperty, pushParser, pushProperty, reflectCollectionType, reflectPropertyType, setClassLoader, setTypeHandlerFactory, updateConstructor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FlatParserFactory
public FlatParserFactory()
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 class ParserFactorySupport
- Parameters:
config
- the stream configuration to pre-process
- Returns:
- the new
Preprocessor
finalizeRecord
protected void finalizeRecord(RecordConfig config,
Record record)
- Description copied from class:
ParserFactorySupport
- Invoked by
ParserFactorySupport.finalizeRecord(RecordConfig)
to allow subclasses to perform
further finalization of the created Record
.
- Overrides:
finalizeRecord
in class ParserFactorySupport
- Parameters:
config
- the record configurationrecord
- the Record
being finalized
Copyright © 2010-2013 Kevin Seim