org.skife.csv
Interface WriterCallback


public interface WriterCallback

Used with SimpleWriter.write(java.io.File, WriterCallback) or SimpleWriter.append(Object[]) to allow the library to handle resource cleanup.


Method Summary
 void withWriter(SimpleWriter writer)
          Will be passed an open CSVWriter
 

Method Detail

withWriter

public void withWriter(SimpleWriter writer)
                throws java.lang.Exception
Will be passed an open CSVWriter

Throws:
java.lang.Exception - which will be wrapped in an RuntimeException