com.servingxml.components.flatfile.recordtype
Class DelimitedFieldWriter

java.lang.Object
  extended by com.servingxml.components.flatfile.recordtype.DelimitedFieldWriter
All Implemented Interfaces:
FlatRecordFieldWriter

public class DelimitedFieldWriter
extends java.lang.Object
implements FlatRecordFieldWriter


Constructor Summary
DelimitedFieldWriter(Name fieldName, int start, Formatter fieldFormatter, DefaultValue defaultValue, FlatFileOptions flatFileOptions)
           
 
Method Summary
 void writeEndDelimiterTo(RecordOutput recordOutput)
           
 void writeField(ServiceContext context, Flow flow, Name fieldName, RecordOutput recordOutput)
           
 void writeField(ServiceContext context, Flow flow, RecordOutput recordOutput)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelimitedFieldWriter

public DelimitedFieldWriter(Name fieldName,
                            int start,
                            Formatter fieldFormatter,
                            DefaultValue defaultValue,
                            FlatFileOptions flatFileOptions)
Method Detail

writeField

public void writeField(ServiceContext context,
                       Flow flow,
                       RecordOutput recordOutput)
Specified by:
writeField in interface FlatRecordFieldWriter

writeField

public void writeField(ServiceContext context,
                       Flow flow,
                       Name fieldName,
                       RecordOutput recordOutput)
Specified by:
writeField in interface FlatRecordFieldWriter

writeEndDelimiterTo

public void writeEndDelimiterTo(RecordOutput recordOutput)
Specified by:
writeEndDelimiterTo in interface FlatRecordFieldWriter