Examples of JRXlsxDataSource


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
Copyright © 2018 www.massapi.com. 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.