BeanIO 2.0.4

org.beanio.internal.compiler.delimited
Class DelimitedParserFactory

java.lang.Object
  extended by org.beanio.internal.compiler.ProcessorSupport
      extended by org.beanio.internal.compiler.ParserFactorySupport
          extended by org.beanio.internal.compiler.flat.FlatParserFactory
              extended by org.beanio.internal.compiler.delimited.DelimitedParserFactory
All Implemented Interfaces:
ParserFactory
Direct Known Subclasses:
CsvParserFactory

public class DelimitedParserFactory
extends FlatParserFactory

A ParserFactory for the delimited stream format.

Since:
2.0
Author:
Kevin Seim

Constructor Summary
DelimitedParserFactory()
          Constructs a new DelimitedParserFactory.
 
Method Summary
 FieldFormat createFieldFormat(FieldConfig config, Class<?> type)
          Creates a format specific FieldFormat.
 RecordFormat createRecordFormat(RecordConfig config)
          Creates a format specific RecordFormat.
 StreamFormat createStreamFormat(StreamConfig config)
          Creates a format specific StreamFormat.
protected  RecordParserFactory getDefaultRecordParserFactory()
          Returns the default RecordParserFactory.
 
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, reflectCollectionType, reflectPropertyType, setClassLoader, setTypeHandlerFactory, updateConstructor
 
Methods inherited from class org.beanio.internal.compiler.ProcessorSupport
getParent, handleComponent, process
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelimitedParserFactory

public DelimitedParserFactory()
Constructs a new DelimitedParserFactory.

Method Detail

createStreamFormat

public StreamFormat createStreamFormat(StreamConfig config)
Description copied from class: ParserFactorySupport
Creates a format specific StreamFormat.

Specified by:
createStreamFormat in class ParserFactorySupport
Parameters:
config - the stream configuration
Returns:
the new StreamFormat

createRecordFormat

public RecordFormat createRecordFormat(RecordConfig config)
Description copied from class: ParserFactorySupport
Creates a format specific RecordFormat.

Specified by:
createRecordFormat in class ParserFactorySupport
Parameters:
config - the record configuration
Returns:
the new RecordFormat

createFieldFormat

public FieldFormat createFieldFormat(FieldConfig config,
                                     Class<?> type)
Description copied from class: ParserFactorySupport
Creates a format specific FieldFormat.

Specified by:
createFieldFormat in class ParserFactorySupport
Parameters:
config - the field configuration
type - 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 default RecordParserFactory.

Specified by:
getDefaultRecordParserFactory in class ParserFactorySupport
Returns:
the RecordParserFactory

BeanIO 2.0.4

Copyright © 2010-2013 Kevin Seim