Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

conversion of .xls file into .csv  RSS feed

 
narasimharao konjeti
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, i am trying to convert .csv file in .xls file. how can i convert in java by using streams, i am using file input/output streams, which is displaying all data in single line.
how can i avoid this problem
waiting for reply.
cheers
nr konjeti
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no built-in input streams for reading .csv files, let alone converting them into .xls files. Take a look at Jakarta POI for a library for creating Microsoft Office documents (such as .xls, .doc, etc).
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!