net.sf.flatpack.writer
Interface Writer

All Known Implementing Classes:
AbstractWriter, DelimiterWriter, FixedLengthWriter

public interface Writer

Author:
Dirk Holmes and Holger Holger Hoffstatte

Method Summary
 void addRecordEntry(java.lang.String columnName, java.lang.Object value)
           
 void close()
           
 void flush()
           
 void nextRecord()
           
 void printFooter()
          put writer into footer mode.
 void printHeader()
          put writer into header mode.
 

Method Detail

printHeader

void printHeader()
put writer into header mode. TODO: how to handle multiple header lines?


printFooter

void printFooter()
put writer into footer mode. TODO: how to handle multiple footer lines?


addRecordEntry

void addRecordEntry(java.lang.String columnName,
                    java.lang.Object value)

nextRecord

void nextRecord()
                throws java.io.IOException
Throws:
java.io.IOException

flush

void flush()
           throws java.io.IOException
Throws:
java.io.IOException

close

void close()
           throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2006-2011 Appendium - Portfolio Financing Platform. All Rights Reserved.