BeanIO 1.2.3

org.beanio.config.csv
Class CsvStreamDefinitionFactory

java.lang.Object
  extended by org.beanio.config.StreamDefinitionFactory
      extended by org.beanio.config.flat.FlatStreamDefinitionFactory
          extended by org.beanio.config.delimited.DelimitedStreamDefinitionFactory
              extended by org.beanio.config.csv.CsvStreamDefinitionFactory

public class CsvStreamDefinitionFactory
extends DelimitedStreamDefinitionFactory

Stream definition factory for CSV formatted streams.

Since:
1.0
Author:
Kevin Seim

Constructor Summary
CsvStreamDefinitionFactory()
           
 
Method Summary
protected  RecordReaderFactory newRecordReaderFactory()
          Creates a default record reader factory.
protected  RecordWriterFactory newRecordWriterFactory()
          Creates a default record writer factory
protected  StreamDefinition newStreamDefinition(StreamConfig stream)
          Creates a new StreamDefinition.
 
Methods inherited from class org.beanio.config.delimited.DelimitedStreamDefinitionFactory
assignDefaultFieldPositions, newBeanDefinition, newFieldDefinition, newRecordDefinition, updateFieldDefinition
 
Methods inherited from class org.beanio.config.flat.FlatStreamDefinitionFactory
compileFieldDefinitions, validateCollections, validateOccurrences
 
Methods inherited from class org.beanio.config.StreamDefinitionFactory
compileBeanDefinition, compileBeanPropertyDefinition, compileFieldDefinition, compileFieldDefinitions, compileGroupDefinition, compileRecordDefinition, compileStreamDefinition, createStreamDefinition, getBeanClass, getDefaultTypeHandlerFactory, isOptionalBeanEnabled, isOptionalFieldEnabled, isReadEnabled, isWriteEnabled, newGroupDefinition, setTypeHandlerFactory, updateBeanDefinition, updateGroupDefinition, updateStreamDefinition, validateRecordIdentifyingCriteria
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CsvStreamDefinitionFactory

public CsvStreamDefinitionFactory()
Method Detail

newStreamDefinition

protected StreamDefinition newStreamDefinition(StreamConfig stream)
Description copied from class: StreamDefinitionFactory
Creates a new StreamDefinition.

Overrides:
newStreamDefinition in class DelimitedStreamDefinitionFactory
Parameters:
stream - the stream configuration
Returns:
the new StreamDefinition

newRecordReaderFactory

protected RecordReaderFactory newRecordReaderFactory()
Description copied from class: StreamDefinitionFactory
Creates a default record reader factory.

Overrides:
newRecordReaderFactory in class DelimitedStreamDefinitionFactory
Returns:
the new RecordReaderFactory

newRecordWriterFactory

protected RecordWriterFactory newRecordWriterFactory()
Description copied from class: StreamDefinitionFactory
Creates a default record writer factory

Overrides:
newRecordWriterFactory in class DelimitedStreamDefinitionFactory
Returns:
the new RecordWriterFactory

BeanIO 1.2.3

Copyright © 2010-2012 Kevin Seim