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

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

package panda.io.stream;

import java.io.IOException;
import java.io.InputStream;

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

/**
 * Excel 2007 reader.
 */
public class XlsxReader extends XlsReader {
	public XlsxReader(InputStream is) throws IOException {
		super(is);
	}

	/**
	 * load workbook
	 * @param is input stream
	 * @return workbook
	 * @throws IOException
	 */
	@Override
	protected Workbook load(InputStream is) throws IOException {
		return new XSSFWorkbook(is);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy