编写Java与POI事件模型的Excel文件 [英] Java write Excel files with POI event model
本文介绍了编写Java与POI事件模型的Excel文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以创建和写入使用POI的事件驱动的API(新)excel文件?我发现如何与API读取的例子,但并不怎么写。
Is it possible to create and write to a (new) excel file using the event driven API from POI? I've found examples on how to read with that API, but not how to write.
谢谢,
杰夫
推荐答案
下面是一种可能性,不是写得很好,虽然:
Here is one possibility, not very well written, though:
的http://www.docjar.org/html/api/org/apache/poi/xssf/usermodel/examples/BigGridDemo.java.html
我使用的该修改后的版本,其不需要临时文件和是整体更高效
I'm using a modified version of that, which does not require temporary files and is overall more efficient
这篇关于编写Java与POI事件模型的Excel文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文