All Downloads are FREE. Search and download functionalities are using the official Maven repository.

panda.io.stream.XlsxWriter Maven / Gradle / Ivy

Go to download

Panda Core is the core module of Panda Framework, it contains commonly used utility classes similar to apache-commons.

There is a newer version: 1.8.0
Show newest version
package panda.io.stream;

import java.io.IOException;
import java.io.OutputStream;

import org.apache.poi.ss.usermodel.Workbook;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;

/**
 * Excel 2007 writer.
 */
public class XlsxWriter extends XlsWriter {
	public XlsxWriter(OutputStream os) throws IOException {
		super(os);
	}

	public XlsxWriter(OutputStream os, String sheetname) throws IOException {
		super(os, sheetname);
	}

	/**
	 * create workbook
	 * @return workbook
	 * @throws IOException
	 */
	@Override
	protected Workbook create() throws IOException {
		return new XSSFWorkbook();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy