public class DefaultRowSetFactory extends java.lang.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).| Constructor and Description |
|---|
DefaultRowSetFactory() |
| Modifier and Type | Method and Description |
|---|---|
RowSet |
create(Sheet sheet)
Create a rowset instance.
|
void |
setColumnNameExtractor(ColumnNameExtractor columnNameExtractor) |
public RowSet create(Sheet sheet)
RowSetFactorycreate in interface RowSetFactorysheet - an Excel sheet.RowSet instance.public void setColumnNameExtractor(ColumnNameExtractor columnNameExtractor)