public class SheetPOI extends ExcelData
Fields inherited from class | Fields |
---|---|
class AbstractTestData |
hasHeaders, properties, sourceUrl |
Type Params | Return Type | Name and description |
---|---|---|
|
public void |
changeSheet(String sheetName) Change this excel data to use another sheet with the specify sheet name |
|
protected int |
getColumnIndex(String colName) |
|
public String[] |
getColumnNames() Get all column names of the test data |
|
public int |
getColumnNumbers() Get total column of the test data |
|
public int |
getMaxColumn(int rowIndex) Get the max column of a row |
|
public int |
getRowNumbers() Get total rows of the test data |
|
public String |
getSheetName() Get the sheet name of this excel data |
|
public String[] |
getSheetNames() Get all sheet names of the parent excel file |
|
protected Object |
internallyGetValue(int col, int row) |
|
protected Object |
internallyGetValue(String colName, int row) |
Methods inherited from class | Name |
---|---|
class ExcelData |
getAllData, getMaxColumn, getSheetName, getType |
class AbstractTestData |
activeHeaders, getDataInfo, getHeaderRowIdx, getObjectValue, getObjectValue, getProperty, getSourceUrl, getValue, getValue, hasHeaders, internallyGetValue, internallyGetValue, setProperty, verifyColumnIndex, verifyColumnName, verifyRowIndex |
Change this excel data to use another sheet with the specify sheet name
sheetName
- the new sheet nameGet all column names of the test data
Get total column of the test data
Get the max column of a row
rowIndex
- the row indexGet total rows of the test data
Get all sheet names of the parent excel file