Package net.sf.jasperreports.engine.data

Examples of net.sf.jasperreports.engine.data.JRXlsxDataSource


                    xlsDataSource.setUseFirstRowAsHeader(Boolean.parseBoolean(useFirstRowAsHeader));
                }
                return xlsDataSource;
            }
            if (res.endsWith(".xlsx")) {
                final JRXlsxDataSource jrXlsxDataSource = new JRXlsxDataSource(resourceInputStream);
                setCommonJRDataSourceProperties(jrXlsxDataSource);
                if (columnNames != null) {
                    jrXlsxDataSource.setColumnNames(columnNames);
                }
                if (useFirstRowAsHeader != null) {
                    jrXlsxDataSource.setUseFirstRowAsHeader(Boolean.parseBoolean(useFirstRowAsHeader));
                }
                return jrXlsxDataSource;
            }
            if (res.endsWith(".xml")) {
                final JRXmlDataSource jrXmlDataSource = new JRXmlDataSource(resourceInputStream);
View Full Code Here

TOP

Related Classes of net.sf.jasperreports.engine.data.JRXlsxDataSource

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.