jxl.biff
Interface WorkbookMethods

All Known Implementing Classes:
WorkbookParser, WritableWorkbookImpl

public interface WorkbookMethods

An interface containing some common workbook methods. This so that objects which are re-used for both readable and writable workbooks can still make the same method calls on a workbook


Method Summary
 java.lang.String getName(int index)
          Gets the name at the specified index
 int getNameIndex(java.lang.String name)
          Gets the index of the name record for the name
 Sheet getReadSheet(int index)
          Gets the specified sheet within this workbook
 

Method Detail

getReadSheet

public Sheet getReadSheet(int index)
Gets the specified sheet within this workbook

Parameters:
index - the zero based index of the required sheet
Returns:
The sheet specified by the index

getName

public java.lang.String getName(int index)
Gets the name at the specified index

Parameters:
index - the index into the name table
Returns:
the name of the cell

getNameIndex

public int getNameIndex(java.lang.String name)
Gets the index of the name record for the name

Parameters:
name - the name
Returns:
the index in the name table