org.simpleflatmapper.lightningcsv.ClosableCsvWriter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lightning-csv Show documentation
Show all versions of lightning-csv Show documentation
Java library to map flat record - ResultSet, csv - to java object with minimum configuration and low footprint.
The newest version!
package org.simpleflatmapper.lightningcsv;
import java.io.Closeable;
import java.io.IOException;
public class ClosableCsvWriter extends CsvWriter implements Closeable {
private final Closeable resource;
public ClosableCsvWriter(CellWriter cellWriter, T appendable) {
super(cellWriter, appendable);
this.resource = appendable;
}
@Override
public void close() throws IOException {
resource.close();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy