|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The DelimiterFormatter interface defines a set of methods used to write a set of rows into a file.
Method Summary | |
void |
finish()
Finishs the writing of rows to the output source. |
java.lang.String |
formatValues(ColumnValue[] values)
Creates a string representing the row of column values. |
void |
setWriter(java.io.Writer output)
Sets the output source for the formatter. |
void |
writeNextRow(java.lang.String row)
Writes the next row to the output source. |
Method Detail |
public void setWriter(java.io.Writer output)
output
- the destination of the datapublic java.lang.String formatValues(ColumnValue[] values)
values
- the column values
public void writeNextRow(java.lang.String row) throws java.io.IOException
row
- the next row
java.io.IOException
- if an error occurs while writing the next rowpublic void finish() throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |