Class ExcelDataSource

All Implemented Interfaces:
JRDataSource, JRRewindableDataSource

public class ExcelDataSource extends AbstractPoiXlsDataSource
This data source implementation reads an XLSX or XLS stream.

The default naming convention is to name report fields COLUMN_x and map each column with the field found at index x in each row (these indices start with 0). To avoid this situation, users can either specify a collection of column names or set a flag to read the column names from the first row of the XLSX or XLS file.

Author:
Sanda Zaharia (shertage@users.sourceforge.net)