Does WorkbookFactory.create(input) can read both excel-2003 and excel-2007
with out any exception or do we need to use xssf and hssf seperately for
each one


FileInputStream input = new FileInputStream(

"/Users/Desktop/Spice+tool.xls");


Workbook wb = WorkbookFactory.create(input);

Sheet sheet = wb.getSheetAt(0);

System.out.println(String.valueOf(sheet.getRow(11).getCell(0)));

Reply via email to