Interface IDAREWorkbook
-
- All Known Implementing Classes:
BasicIDAREWorkbook
public interface IDAREWorkbookAnIDAREWorkbookcontains one or multiple sets of data in individualIDARESheets- Author:
- Thomas Pfau
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetNumberOfSheets()Get the number of individual data sheets present in this workbookIDARESheetgetSheet(String arg0)Get the sheet with the specified nameIDARESheetgetSheetAt(int arg0)Get the Sheet at the requested position, or null if it does not exist-intgetSheetIndex(IDARESheet arg0)Get the index of the providedIDARESheet.intgetSheetIndex(String arg0)Get the 0-based index of a sheet with the provided nameStringgetSheetName(int arg0)Get the name of the sheet at the provided position
-
-
-
Method Detail
-
getNumberOfSheets
int getNumberOfSheets()
Get the number of individual data sheets present in this workbook- Returns:
- the number of non null sheets in this Workbook
-
getSheet
IDARESheet getSheet(String arg0)
Get the sheet with the specified name- Parameters:
arg0- the name of the requested sheet- Returns:
- the requested
IDARESheet, or null if it does not exist.
-
getSheetAt
IDARESheet getSheetAt(int arg0)
Get the Sheet at the requested position, or null if it does not exist-- Parameters:
arg0- the 0-based position of the Sheet.- Returns:
- the sheet at the requested position
-
getSheetIndex
int getSheetIndex(String arg0)
Get the 0-based index of a sheet with the provided name- Parameters:
arg0- the name of theIDARESheet- Returns:
- the index of the Sheet with the requested name, no two sheets are allowed to have the same name.
-
getSheetIndex
int getSheetIndex(IDARESheet arg0)
Get the index of the providedIDARESheet.- Parameters:
arg0- the Sheet for which to obtain the index.- Returns:
- the index of the provided sheet.
-
getSheetName
String getSheetName(int arg0)
Get the name of the sheet at the provided position- Parameters:
arg0- the position of the sheet for which to obtain the name- Returns:
- the name of the
IDARESheet, or null if the position does not contain a sheet.
-
-