|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.batch.item.excel.support.rowset.DefaultRowSetMetaData
public class DefaultRowSetMetaData
Default implementation for the RowSetMetaData interface.
Requires a Sheet and ColumnNameExtractor to operate correctly.
Delegates the retrieval of the column names to the ColumnNameExtractor.
| Method Summary | |
|---|---|
int |
getColumnCount()
Retrieves the number of columns in the RowSet. |
String |
getColumnName(int idx)
Retrieves the column name for the indicatd column. |
String[] |
getColumnNames()
Retrieves the names of the columns for the current sheet. |
String |
getSheetName()
Retrieves the name of the sheet the RowSet is based on. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public String[] getColumnNames()
RowSetMetaData
getColumnNames in interface RowSetMetaDatapublic String getColumnName(int idx)
RowSetMetaData
getColumnName in interface RowSetMetaDataidx - the index of the column, 0 based
public int getColumnCount()
RowSetMetaData
getColumnCount in interface RowSetMetaDatapublic String getSheetName()
RowSetMetaData
getSheetName in interface RowSetMetaData
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||