Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.servingxml.components.flatfile.recordtype
Class FlatRecordReaderImpl

    java.lang.Object
      com.servingxml.components.flatfile.recordtype.FlatRecordReaderImpl

All Implemented Interfaces:
  FlatRecordReader

    public class FlatRecordReaderImpl

extends java.lang.Object
implements FlatRecordReader

Nested Class Summary

Nested classes/interfaces inherited from interface com.servingxml.components.flatfile.FlatRecordReader
`FlatRecordReader.NullFlatRecordReader`

Field Summary

Fields inherited from interface com.servingxml.components.flatfile.FlatRecordReader
`NULL`

Constructor Summary
`FlatRecordReaderImpl(NameSubstitutionExpr recordTypeNameExpr, FlatRecordFieldReader[] fieldReaders, IntegerSubstitutionExpr recordLengthExpr)`

Method Summary
`int` | `calculateFixedRecordLength(Record parameters, Record currentRecord)`
`void` | `endReadRecords(ServiceContext context, Flow flow, Delimiter[] recordDelimiters, int recordDelimiterStart, int recordDelimiterCount, RecordReceiver receiver)`
`void` | `readRecord(ServiceContext context, Flow flow, RecordInput recordInput, Delimiter[] recordDelimiters, int recordDelimiterStart, int recordDelimiterCount, RecordReceiver receiver)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### FlatRecordReaderImpl

    public FlatRecordReaderImpl(NameSubstitutionExpr recordTypeNameExpr,
                                FlatRecordFieldReader[] fieldReaders,
                                IntegerSubstitutionExpr recordLengthExpr)

Method Detail

### readRecord

    public void readRecord(ServiceContext context,
                           Flow flow,
                           RecordInput recordInput,
                           Delimiter[] recordDelimiters,
                           int recordDelimiterStart,
                           int recordDelimiterCount,
                           RecordReceiver receiver)

  Specified by:
    `readRecord` in interface `FlatRecordReader`

### calculateFixedRecordLength

    public int calculateFixedRecordLength(Record parameters,
                                          Record currentRecord)

  Specified by:
    `calculateFixedRecordLength` in interface `FlatRecordReader`

### endReadRecords

    public void endReadRecords(ServiceContext context,
                               Flow flow,
                               Delimiter[] recordDelimiters,
                               int recordDelimiterStart,
                               int recordDelimiterCount,
                               RecordReceiver receiver)

  Specified by:
    `endReadRecords` in interface `FlatRecordReader`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD