错误:
jxl.read.biff.BiffException: Unable to recognize OLE stream我的程序源码:
import java.io.*;
import jxl.*;public class test
{
public static void main(String args[])
{
try
{
Workbook book = Workbook.getWorkbook(new File("c:\\test\\abc_20050401134339_02_jjk.XLS"));
//获得第一个工作表对象
Sheet sheet = book.getSheet(0);
//得到第一列第一行的单元格
Cell cell1 = sheet.getCell(0, 0);
String result = cell1.getContents();
System.out.println(result);
book.close();
}
catch (Exception e)
{
System.out.println(e);
}
}
}
jxl.read.biff.BiffException: Unable to recognize OLE stream我的程序源码:
import java.io.*;
import jxl.*;public class test
{
public static void main(String args[])
{
try
{
Workbook book = Workbook.getWorkbook(new File("c:\\test\\abc_20050401134339_02_jjk.XLS"));
//获得第一个工作表对象
Sheet sheet = book.getSheet(0);
//得到第一列第一行的单元格
Cell cell1 = sheet.getCell(0, 0);
String result = cell1.getContents();
System.out.println(result);
book.close();
}
catch (Exception e)
{
System.out.println(e);
}
}
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货