• Post Reply Bookmark Topic Watch Topic
  • New Topic

Write data into a excel using java  RSS feed

 
James Tharakan
Ranch Hand
Posts: 580
Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have few strings , i need to generate all possible combination for those strings.
I need those combination to be feed into excel sheet .
So i thought of writing a program. But i dont know how to WRITE data in to excel using java .
Can someone guide me???
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's what libraries like Apache POI and jExcelApi do.
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out JExcel

Oh! Ulf got here before I did and beat me to it.
 
Campbell Ritchie
Marshal
Posts: 56562
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't know. Try this link, this one and this one.

But that question is too difficult for use beginners. Moving.
 
Fred Hamilton
Ranch Hand
Posts: 686
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you want to write directly into excel, or just write to a file that Excel can subsequently open? If it is the second case, then comma delimited would be the easiest I suppose.
 
James Tharakan
Ranch Hand
Posts: 580
Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to write the data directly into Excel.

And thanks for the links guys... I started using 'jxl' api.
But why is it that there is no documentation about those api, i mean that there is no document about those api .
I also want to know how to append data to a cell of a excelsheet???
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe you missed the tutorial. POI, too, has lots of documentation.

Of course, these are open source efforts, so they live from what gets contributed. If you find something that's missing in the docs, be sure to submit a patch to the developers so they can incorporate it.
 
James Tharakan
Ranch Hand
Posts: 580
Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EDITED
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!