org.springframework.batch.item.excel.support.rowset
Interface RowSetMetaData

All Known Implementing Classes:
DefaultRowSetMetaData

public interface RowSetMetaData

Interface representing the the metadata associated with an Excel document.

Since:
0.5.0
Author:
Marten Deinum

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.
 

Method Detail

getColumnNames

String[] getColumnNames()
Retrieves the names of the columns for the current sheet.

Returns:
the column names.

getColumnName

String getColumnName(int idx)
Retrieves the column name for the indicatd column.

Parameters:
idx - the index of the column, 0 based
Returns:
the column name

getColumnCount

int getColumnCount()
Retrieves the number of columns in the RowSet.

Returns:
the number of columns

getSheetName

String getSheetName()
Retrieves the name of the sheet the RowSet is based on.

Returns:
the name of the sheet


Copyright © 2017. All rights reserved.