com.servingxml.components.flatfile.recordtype
Class IntegerFieldWriter

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

public class IntegerFieldWriter
extends java.lang.Object
implements FlatRecordFieldWriter


Constructor Summary
IntegerFieldWriter(Name fieldName, int start, int fieldWidth, DefaultValue defaultValueEvaluator, 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

IntegerFieldWriter

public IntegerFieldWriter(Name fieldName,
                          int start,
                          int fieldWidth,
                          DefaultValue defaultValueEvaluator,
                          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