com.servingxml.components.flatfile.layout
Class FlatFileReaderFactory

java.lang.Object
  extended by com.servingxml.components.recordio.AbstractRecordReaderFactory
      extended by com.servingxml.components.flatfile.layout.FlatFileReaderFactory
All Implemented Interfaces:
RecordFilterAppender, RecordPipelineAppender, RecordReaderFactory

public class FlatFileReaderFactory
extends AbstractRecordReaderFactory
implements RecordReaderFactory, RecordFilterAppender

A FlatFileReaderFactory instance may be used to obtain objects that implement the RecordReader interface.


Field Summary
 
Fields inherited from interface com.servingxml.components.recordio.RecordPipelineAppender
EMPTY_ARRAY
 
Fields inherited from interface com.servingxml.components.recordio.RecordPipelineAppender
EMPTY_ARRAY
 
Constructor Summary
FlatFileReaderFactory(FlatFileOptionsFactory flatFileOptionsFactory, StreamSourceFactory streamSourceFactory, FlatFile flatFile, long fromRecord, long maxRecordCount)
           
 
Method Summary
protected  RecordReader createRecordReader(ServiceContext context, Flow flow)
           
 
Methods inherited from class com.servingxml.components.recordio.AbstractRecordReaderFactory
appendToRecordPipeline, createRecordPipeline
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.servingxml.components.recordio.RecordPipelineAppender
appendToRecordPipeline, createRecordPipeline
 
Methods inherited from interface com.servingxml.components.recordio.RecordPipelineAppender
appendToRecordPipeline, createRecordPipeline
 

Constructor Detail

FlatFileReaderFactory

public FlatFileReaderFactory(FlatFileOptionsFactory flatFileOptionsFactory,
                             StreamSourceFactory streamSourceFactory,
                             FlatFile flatFile,
                             long fromRecord,
                             long maxRecordCount)
Method Detail

createRecordReader

protected RecordReader createRecordReader(ServiceContext context,
                                          Flow flow)
Specified by:
createRecordReader in class AbstractRecordReaderFactory