这2个API中哪个更容易读取/写入/编辑Excel工作表?这些API是否不支持CSV扩展?
使用JXL进行file.xls和file.xlsx时,出现如下异常:
jxl.read.biff.BiffException: Unable to recognize OLE stream
at jxl.read.biff.CompoundFile.<init>(CompoundFile.java:116)
at jxl.read.biff.File.<init>(File.java:127)
at jxl.Workbook.getWorkbook(Workbook.java:268)
at core.ReadXLSheet.contentReading(ReadXLSheet.java:46)
at core.ReadXLSheet.init(ReadXLSheet.java:22)
at core.ReadXLSheet.main(ReadXLSheet.java:72)
.xls和.xlsx扩展名都可以。我使用的Java版本是:JDK1.6