Class AbstractPoiXlsDataSource

  • All Implemented Interfaces:
    JRDataSource, JRRewindableDataSource
    Direct Known Subclasses:
    ExcelDataSource, JRXlsxDataSource, XlsDataSource

    public abstract class AbstractPoiXlsDataSource
    extends AbstractXlsDataSource
    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 ([email protected])