- 授权协议: LGPL
- 开发语言: Java
- 操作系统: 跨平台
- 软件首页: http://fastexcel.sourceforge.net/
软件介绍
FastExcel是一个采用纯java开发的excel文件读写组件。支持Excel'97(-2003)(BIFF8)文件格式。FastExcel主要关注excel内容的处理,所以FastExcel只能读取单元格的字符 信息,而其它属性如颜色,字体等就不支持了。由于不读取,解析和存储这些额外信息,因此FastExcel只需很小的内存。
示例代码:
public void testDump() throws ParserException, ReadException {
Workbook workBook;
workBook = FastExcel.createReadableWorkbook(new File("test.xls"));
workBook.open();
Sheet s;
s = workBook.getSheet(0);
System.out.println("SHEET:"+s);
for (int i = s.getFirstRow(); i <= s.getLastRow(); i++) {
System.out.print(i+"#");
for (int j = s.getFirstColumn(); j <=s.getLastColumn(); j++) {
System.out.print(","+s.getCell(i, j));
}
System.out.println();
}
workBook.close();
}
The Art and Science of Java
Eric Roberts / Addison-Wesley / 2007-3-1 / USD 121.60
In The Art and Science of Java, Stanford professor and well-known leader in CS Education Eric Roberts emphasizes the student-friendly exposition that led to the success of The Art and Science of C. By......一起来看看 《The Art and Science of Java》 这本书的介绍吧!
