com.servingxml.components.flatfile.recordtype
Class FlatRecordTypePrefilter

java.lang.Object
  extended by com.servingxml.components.flatfile.recordtype.FlatRecordTypePrefilter
All Implemented Interfaces:
FlatRecordType

public class FlatRecordTypePrefilter
extends java.lang.Object
implements FlatRecordType

The FlatRecordTypePrefilter object writes a header line


Field Summary
 
Fields inherited from interface com.servingxml.components.flatfile.recordtype.FlatRecordType
EMPTY
 
Constructor Summary
FlatRecordTypePrefilter(FlatRecordType flatRecordType, ParameterDescriptor[] parameterDescriptors)
           
 
Method Summary
 FlatRecordReader createFlatRecordReader()
           
 FlatRecordWriter createFlatRecordWriter()
           
 Record getDefaultRecord(ServiceContext context, Flow flow)
           
 boolean isBinary()
           
 boolean isFixedLength()
           
 boolean isText()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlatRecordTypePrefilter

public FlatRecordTypePrefilter(FlatRecordType flatRecordType,
                               ParameterDescriptor[] parameterDescriptors)
Method Detail

getDefaultRecord

public Record getDefaultRecord(ServiceContext context,
                               Flow flow)
Specified by:
getDefaultRecord in interface FlatRecordType

createFlatRecordReader

public FlatRecordReader createFlatRecordReader()
Specified by:
createFlatRecordReader in interface FlatRecordType

createFlatRecordWriter

public FlatRecordWriter createFlatRecordWriter()
Specified by:
createFlatRecordWriter in interface FlatRecordType

isText

public boolean isText()
Specified by:
isText in interface FlatRecordType

isBinary

public boolean isBinary()
Specified by:
isBinary in interface FlatRecordType

isFixedLength

public boolean isFixedLength()
Specified by:
isFixedLength in interface FlatRecordType