Class DefaultRowSetMetaData
java.lang.Object
org.springframework.batch.extensions.excel.support.rowset.DefaultRowSetMetaData
- All Implemented Interfaces:
RowSetMetaData
Default implementation for the
RowSetMetaData interface.
Requires a Sheet and ColumnNameExtractor to operate correctly.
Delegates the retrieval of the column names to the ColumnNameExtractor.- Since:
- 0.1.0
- Author:
- Marten Deinum
-
Method Summary
Modifier and TypeMethodDescriptionString[]Retrieves the names of the columns for the current sheet.Retrieves the name of the sheet the RowSet is based on.
-
Method Details
-
getColumnNames
Description copied from interface:RowSetMetaDataRetrieves the names of the columns for the current sheet.- Specified by:
getColumnNamesin interfaceRowSetMetaData- Returns:
- the column names.
-
getSheetName
Description copied from interface:RowSetMetaDataRetrieves the name of the sheet the RowSet is based on.- Specified by:
getSheetNamein interfaceRowSetMetaData- Returns:
- the name of the sheet
-