org.springframework.batch.item.excel.support.rowset
Class DefaultRowSetFactory
java.lang.Object
org.springframework.batch.item.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.5.0
- Author:
- Marten Deinum
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultRowSetFactory
public DefaultRowSetFactory()
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)
Copyright © 2017. All rights reserved.