Interface DataSource
-
- All Known Implementing Classes:
DefaultDataSource
public interface DataSource
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Number[][]
getAllCells()
Number
getCell(int rowIndex, int colIndex)
Number[]
getColumn(int colIndex)
int
getColumnCount()
String[]
getHeaderColumn()
String
getHeaderColumnValue(int rowIndex)
String[]
getHeaderRow()
String
getHeaderRowValue(int columnIndex)
Number[]
getRow(int rowIndex)
int
getRowCount()
boolean
hasHeaderColumn()
boolean
hasHeaderRow()
-
-
-
Method Detail
-
getRowCount
int getRowCount() throws DataSourceException
- Throws:
DataSourceException
-
getColumnCount
int getColumnCount() throws DataSourceException
- Throws:
DataSourceException
-
getCell
Number getCell(int rowIndex, int colIndex) throws DataSourceException
- Throws:
DataSourceException
-
getRow
Number[] getRow(int rowIndex) throws DataSourceException
- Throws:
DataSourceException
-
getColumn
Number[] getColumn(int colIndex) throws DataSourceException
- Throws:
DataSourceException
-
getAllCells
Number[][] getAllCells() throws DataSourceException
- Throws:
DataSourceException
-
hasHeaderRow
boolean hasHeaderRow() throws DataSourceException
- Throws:
DataSourceException
-
hasHeaderColumn
boolean hasHeaderColumn() throws DataSourceException
- Throws:
DataSourceException
-
getHeaderRowValue
String getHeaderRowValue(int columnIndex) throws DataSourceException
- Throws:
DataSourceException
-
getHeaderRow
String[] getHeaderRow() throws DataSourceException
- Throws:
DataSourceException
-
getHeaderColumnValue
String getHeaderColumnValue(int rowIndex) throws DataSourceException
- Throws:
DataSourceException
-
getHeaderColumn
String[] getHeaderColumn() throws DataSourceException
- Throws:
DataSourceException
-
-