public interface WorkbookLoader
| Modifier and Type | Method and Description |
|---|---|
int |
getNumberOfSheets()
Get number of sheets in current workbook.
|
SheetLoader |
getSheetLoader(int sheetIndex)
Get the sheet accessor
|
SpreadsheetConstants |
getSpreadsheetConstants() |
org.apache.poi.ss.usermodel.Workbook |
getWorkbook()
Get the workbook.
|
boolean |
isCanUnload()
If true - the workbook can (but mustn't) be unloaded (for example if there is no enough memory).
|
void |
setCanUnload(boolean canUnload)
Set the flag that this workbook can or can't be unloaded.
|
org.apache.poi.ss.usermodel.Workbook getWorkbook()
isCanUnload() state, when this method is repeatedly
called, it can (but mustn't) return different instances of workbook java object.isCanUnload()SheetLoader getSheetLoader(int sheetIndex)
sheetIndex - the sheet index in the workbookint getNumberOfSheets()
boolean isCanUnload()
If true - the workbook can (but mustn't) be unloaded (for example if there is no enough memory). In this case
when the getWorkbook() is repeatedly called, it can (but mustn't) return different instances of workbook
java object.
If false - the workbook is not unloaded and getWorkbook() always returns the same Workbook instance.
setCanUnload(boolean)void setCanUnload(boolean canUnload)
getWorkbook()
always returns the same Workbook instance.canUnload - the flag that this workbook can or can't be unloadedisCanUnload()SpreadsheetConstants getSpreadsheetConstants()
Copyright © 2004–2019 OpenL Tablets. All rights reserved.