|
BeanIO 1.2.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.beanio.config.StreamDefinitionFactory
org.beanio.config.flat.FlatStreamDefinitionFactory
org.beanio.config.delimited.DelimitedStreamDefinitionFactory
public class DelimitedStreamDefinitionFactory
Stream definition factory for delimited formatted streams.
| Constructor Summary | |
|---|---|
DelimitedStreamDefinitionFactory()
|
|
| Method Summary | |
|---|---|
protected void |
assignDefaultFieldPositions(RecordConfig recordConfig,
FlatRecordDefinition recordDefinition)
Assigns a default position to all record fields. |
protected BeanDefinition |
newBeanDefinition(BeanConfig bean)
Creates a new BeanDefinition. |
protected FieldDefinition |
newFieldDefinition(FieldConfig field)
Creates a new FieldDefinition. |
protected RecordDefinition |
newRecordDefinition(RecordConfig record)
Creates a new RecordDefinition. |
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. |
protected void |
updateFieldDefinition(FieldConfig fieldConfig,
FieldDefinition fieldDefinition)
This method is called by compileFieldDefinitions to allow the configuration of format specific field configuration settings. |
| Methods inherited from class org.beanio.config.flat.FlatStreamDefinitionFactory |
|---|
compileFieldDefinitions, validateCollections, validateOccurrences |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DelimitedStreamDefinitionFactory()
| Method Detail |
|---|
protected void assignDefaultFieldPositions(RecordConfig recordConfig,
FlatRecordDefinition recordDefinition)
FlatStreamDefinitionFactory
assignDefaultFieldPositions in class FlatStreamDefinitionFactoryrecordConfig - the record configurationrecordDefinition - the record definition
protected void updateFieldDefinition(FieldConfig fieldConfig,
FieldDefinition fieldDefinition)
StreamDefinitionFactory
updateFieldDefinition in class StreamDefinitionFactoryfieldConfig - the field configurationfieldDefinition - the field definitionprotected FieldDefinition newFieldDefinition(FieldConfig field)
StreamDefinitionFactory
newFieldDefinition in class StreamDefinitionFactoryfield - the field configuration
protected BeanDefinition newBeanDefinition(BeanConfig bean)
StreamDefinitionFactory
newBeanDefinition in class StreamDefinitionFactorybean - the bean configuration
protected RecordDefinition newRecordDefinition(RecordConfig record)
StreamDefinitionFactory
newRecordDefinition in class StreamDefinitionFactoryrecord - the record configuration
protected StreamDefinition newStreamDefinition(StreamConfig stream)
StreamDefinitionFactory
newStreamDefinition in class StreamDefinitionFactorystream - the stream configuration
protected RecordReaderFactory newRecordReaderFactory()
StreamDefinitionFactory
newRecordReaderFactory in class StreamDefinitionFactoryprotected RecordWriterFactory newRecordWriterFactory()
StreamDefinitionFactory
newRecordWriterFactory in class StreamDefinitionFactory
|
BeanIO 1.2.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||