public class POIWorkBook extends Object implements IDAREWorkbook
| Constructor and Description |
|---|
POIWorkBook(org.apache.poi.ss.usermodel.Workbook wb) |
| Modifier and Type | Method and Description |
|---|---|
int |
getNumberOfSheets()
Get the number of individual data sheets present in this workbook
|
IDARESheet |
getSheet(String arg0)
Get the sheet with the specified name
|
IDARESheet |
getSheetAt(int arg0)
Get the Sheet at the requested position, or null if it does not exist-
|
int |
getSheetIndex(IDARESheet arg0)
Get the index of the provided
IDARESheet. |
int |
getSheetIndex(String arg0)
Get the 0-based index of a sheet with the provided name
|
String |
getSheetName(int arg0)
Get the name of the sheet at the provided position
|
public int getNumberOfSheets()
IDAREWorkbookgetNumberOfSheets in interface IDAREWorkbookpublic IDARESheet getSheet(String arg0)
IDAREWorkbookgetSheet in interface IDAREWorkbookarg0 - the name of the requested sheetIDARESheet, or null if it does not exist.public IDARESheet getSheetAt(int arg0)
IDAREWorkbookgetSheetAt in interface IDAREWorkbookarg0 - the 0-based position of the Sheet.public int getSheetIndex(String arg0)
IDAREWorkbookgetSheetIndex in interface IDAREWorkbookarg0 - the name of the IDARESheetpublic int getSheetIndex(IDARESheet arg0)
IDAREWorkbookIDARESheet.getSheetIndex in interface IDAREWorkbookarg0 - the Sheet for which to obtain the index.public String getSheetName(int arg0)
IDAREWorkbookgetSheetName in interface IDAREWorkbookarg0 - the position of the sheet for which to obtain the nameIDARESheet, or null if the position does not contain a sheet.Copyright © 2018. All rights reserved.