如何使用Java获取和放置Excel的列名称?
如何使用Java获取Excel工作表的列名?我正在使用 jexcel 包来读取和写入 Excel 工作表。还有如何更改Excel工作表的列名?
How to get column name of Excel sheets using Java? I am using jexcel package for reading from and writing into excel sheet. And also how to change a column name of an Excel sheet?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您说的是哪个版本的 Java 和 Excel?
对于 Excel 2003 之前的所有 Excel 版本,您可以使用 http://jexcelapi.sourceforge.net/。
对于 2007 年,您可以使用 http://poi.apache.org/index.html
我这样做不知道有任何适用于 Excel 2010 的 Java API。对此表示抱歉!
Which version of Java and Excel are you talking about?
For all versions of Excel till Excel 2003 you can use http://jexcelapi.sourceforge.net/.
For 2007, you can use http://poi.apache.org/index.html
I do not know of any Java APIs for Excel 2010. Sorry about that!
POI 还支持 Excel 2010。建议使用 XSSF 库,因为 xlsx 文件解析速度往往较慢:
http://poi。 apache.org/spreadsheet/index.html
POI supports Excel 2010 as well. Using the XSSF library is suggested as the xlsx files tend to be slower to parse:
http://poi.apache.org/spreadsheet/index.html