net.sf.doolin.tabular.io.TabularWriter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of doolin-tabular Show documentation
Show all versions of doolin-tabular Show documentation
This Doolin GUI module is an extension that allows writing
tabular data (CSV, Excel).
The newest version!
/*
* Created on Aug 14, 2007
*/
package net.sf.doolin.tabular.io;
import java.io.IOException;
import java.io.OutputStream;
import net.sf.doolin.tabular.model.TabularModel;
/**
* Defines the writer for some tabular data.
*
* @author Damien Coraboeuf
*
* @param
* Type of object per row
*/
public interface TabularWriter {
/**
* Writes the given tabular data into the given output stream
*
* @param output
* Output stream to write to
* @param model
* Data to write
* @throws IOException
* Thrown if an error occurs during the writing.
*/
void write(OutputStream output, TabularModel model) throws IOException;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy