geneticWedge.gp.io
Class ExcelReader

java.lang.Object
  extended by geneticWedge.gp.io.ExcelReader

public class ExcelReader
extends java.lang.Object

This class contains static methods for reading data from Excel files and returning NumericData objects. The Excel file to be read should have been registered with ODBC.


Constructor Summary
ExcelReader()
           
 
Method Summary
static NumericData readWorksheet(java.lang.String spreadsheet, java.lang.String worksheet, boolean labelsInFirstColumn)
          This method reads all of the data in worksheet, within spreadsheet.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExcelReader

public ExcelReader()
Method Detail

readWorksheet

public static NumericData readWorksheet(java.lang.String spreadsheet,
                                        java.lang.String worksheet,
                                        boolean labelsInFirstColumn)
This method reads all of the data in worksheet, within spreadsheet. If labelsInFirstColumn is true, The contents of the first column will be used as data labels. They may be retrieved from the NumericData object by calling getLabels(). If variable names are in the first row of the spreadsheet, this will be automatically detected. The variable names may be retrieved from the NumericData object by calling getNames().