class CSVPrinter implements Flushable, Closeable {

    public void close() throws IOException {
        if (out instanceof Closeable) {
            ((Closeable) out).close();
        }
    }

    public  CSVPrinter(final Appendable out, final CSVFormat format);

}