| 
 | BeanIO 2.0.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.beanio.internal.compiler.ProcessorSupport
org.beanio.internal.compiler.Preprocessor
org.beanio.internal.compiler.flat.FlatPreprocessor
public class FlatPreprocessor
Base class for Preprocessor implementations for flat stream formats 
 (i.e. CSV, delimited, and fixed length).
| Field Summary | 
|---|
| Fields inherited from class org.beanio.internal.compiler.Preprocessor | 
|---|
| propertyRoot, stream | 
| Constructor Summary | |
|---|---|
| FlatPreprocessor(StreamConfig stream)Constructs a new FlatPreprocessor. | |
| Method Summary | |
|---|---|
| protected  void | finalizeRecord(RecordConfig record)Finalizes a record configuration after its children have been processed. | 
| protected  void | finalizeSegment(SegmentConfig segment)Finalizes a segment configuration after its children have been processed. | 
| protected  int | getSize(FieldConfig field)Returns the size of a field. | 
| protected  void | handleField(FieldConfig field)Processes a field configuration. | 
| protected  void | initializeRecord(RecordConfig record)Initializes a record configuration before its children have been processed. | 
| protected  boolean | isFixedLength()Returns whether the stream format is fixed length. | 
| Methods inherited from class org.beanio.internal.compiler.Preprocessor | 
|---|
| finalizeGroup, finalizeStream, handleConstant, initializeGroup, initializeSegment, initializeStream, validateRecordIdentifyingCriteria | 
| 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 | 
|---|
public FlatPreprocessor(StreamConfig stream)
stream - | Method Detail | 
|---|
protected void initializeRecord(RecordConfig record)
Preprocessor
initializeRecord in class Preprocessorrecord - the record configuration to processprotected void finalizeRecord(RecordConfig record)
Preprocessor
finalizeRecord in class Preprocessorrecord - the record configuration to processprotected void finalizeSegment(SegmentConfig segment)
Preprocessor
finalizeSegment in class Preprocessorsegment - the segment configuration to processprotected void handleField(FieldConfig field)
Preprocessor
handleField in class Preprocessorfield - the field configuration to processprotected int getSize(FieldConfig field)
field - the field to size
protected boolean isFixedLength()
| 
 | BeanIO 2.0.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||