edu.upc.dama.dex.io
Interface RowWriter

All Known Implementing Classes:
CSVWriter

public interface RowWriter

Common interface for those writers which store the data as String [].

See Also:
CSVWriter
Author:
Sparsity Technologies

Method Summary
 void close()
          Closes the underlying writer.
 void writeNext(java.lang.String[] row)
          Writes the next row as a string array.
 

Method Detail

writeNext

void writeNext(java.lang.String[] row)
               throws java.io.IOException
Writes the next row as a string array.

Parameters:
row - Row of data as a string array.
Throws:
java.io.IOException - If bad things happen during the write.

close

void close()
           throws java.io.IOException
Closes the underlying writer.

Throws:
java.io.IOException - If the close fails.