Class DefaultRowSetFactory

java.lang.Object
org.springframework.batch.extensions.excel.support.rowset.DefaultRowSetFactory
All Implemented Interfaces:
RowSetFactory

public class DefaultRowSetFactory extends Object implements RowSetFactory
RowSetFactory implementation which constructs a DefaultRowSet instance and DefaultRowSetMetaData instance. The latter will have the ColumnNameExtractor configured on this factory set (default RowNumberColumnNameExtractor).
Since:
0.1.0
Author:
Marten Deinum
  • Constructor Details

    • DefaultRowSetFactory

      public DefaultRowSetFactory()
  • Method Details

    • create

      public RowSet create(Sheet sheet)
      Description copied from interface: RowSetFactory
      Create a rowset instance.
      Specified by:
      create in interface RowSetFactory
      Parameters:
      sheet - an Excel sheet.
      Returns:
      a RowSet instance.
    • setColumnNameExtractor

      public void setColumnNameExtractor(ColumnNameExtractor columnNameExtractor)