com.servingxml.components.flatfile.layout
Class ByteFlatFilePostprocessor

java.lang.Object
  extended by com.servingxml.components.flatfile.layout.ByteFlatFilePostprocessor
All Implemented Interfaces:
FlatFilePostprocessor

public class ByteFlatFilePostprocessor
extends java.lang.Object
implements FlatFilePostprocessor

A ByteFlatFilePostprocessor postproccesses a flat file.


Constructor Summary
ByteFlatFilePostprocessor(StreamSink sink, boolean flushRecordOnWrite)
           
 
Method Summary
 void beginData()
           
 void close()
           
 void endData()
           
 void signFile(ServiceContext context, Flow flow, long recordCount)
           
 void write(RecordOutput recordOutput)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteFlatFilePostprocessor

public ByteFlatFilePostprocessor(StreamSink sink,
                                 boolean flushRecordOnWrite)
Method Detail

write

public void write(RecordOutput recordOutput)
           throws java.io.IOException
Specified by:
write in interface FlatFilePostprocessor
Throws:
java.io.IOException

beginData

public void beginData()
Specified by:
beginData in interface FlatFilePostprocessor

endData

public void endData()
Specified by:
endData in interface FlatFilePostprocessor

signFile

public void signFile(ServiceContext context,
                     Flow flow,
                     long recordCount)
Specified by:
signFile in interface FlatFilePostprocessor

close

public void close()
Specified by:
close in interface FlatFilePostprocessor