使用java将.txt转换为excel格式 [英] converting .txt to excel format using java

查看:830
本文介绍了使用java将.txt转换为excel格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是java的初学者,只知道概念。任何人都可以提供将.txt转换为excel格式的示例代码。请帮助我。

I'm a beginner in java,just know the concepts only. Can anyone provide the sample codes for converting .txt to excel format.Please help me.

推荐答案

我假设您要将csv文件转换为XLS格式。请参阅此 [ LINK ]。
I assume you want to convert csv file to XLS format. Please refer to this [LINK].


虽然JExcel是处理Excel文件的很好的API。我建议你去支持最新的XLSX文件格式的apache POI。有很多格式化单元格,处理工作表和工作簿的方法。

this URL将是开始的地方



http://poi.apache.org/spreadsheet/quick-guide.html
though JExcel is nice API for handling Excel files.i would suggest you to go for apache POI which supports the latest XLSX file format.its has lot of methods for formatting cells,handling sheets and workbooks.
this URL would be place to start

http://poi.apache.org/spreadsheet/quick-guide.html


我是java的初学者,只知道概念。任何人都可以提供将.txt转换为excel格式的示例代码。请帮助我。
I'm a beginner in java,just know the concepts only. Can anyone provide the sample codes for converting .txt to excel format.Please help me.


这篇关于使用java将.txt转换为excel格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆