Reputation: 8648
Hi is it possible to convert a excel file into txt file using java?
Upvotes: 1
Views: 10274
Reputation: 8710
You can save your file in CSV format and then using "opencsv" (http://opencsv.sourceforge.net/) you can do whatever you want. BTW, opencsv is a java library.
Upvotes: 0
Reputation: 26036
You can use Apache POI to read xls or xlsx file and save it into csv or text format.
Upvotes: 5
Reputation: 1756
I'm sure there are Java excel libraries if you google it, but the easiest thing to do is save the excel file as a csv or tab delimited file from within excel itself.
Upvotes: 0