public static void main(String[] args) throws BiffException,IOException,WriteException {
try {
InputStream is = new FileInputStream("F:/EXCEL/ZY_T_D_DRIVERINCOME.xls");
jxl.Workbook rwb = Workbook.getWorkbook(is);
System.out.println(rwb);
Sheet[] rsArray = rwb.getSheets();
Sheet rs = rsArray[0];
Cell c;
for(int i=0;i<rs.getRows();i++){
for(int j=0;j<rs.getColumns();j++){
c=rs.getCell(j,i);
String strc = c.getContents();
System.out.print(strc);
rwb.close();
}
}
} catch (Exception e) {
e.printStackTrace();
}
}