• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Write into excel from console output using POI library

 
Prasad Rooge
Greenhorn
Posts: 25
Firefox Browser Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any way to write into excel from console
 
Michael Krimgen
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am not sure if I understand your requirement correctly. You want to read data from teh console and write it into an Excel file?

Looking at your code, you already know how to create an Excel file using POI.

Now the only thinkg you need to do is reading from the console (e.g. using the Console class or System.in)
and write it to the file.

Cheers,
Michael
 
Prasad Rooge
Greenhorn
Posts: 25
Firefox Browser Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ya.. how to write contents of console to excel using POI
 
Paul Clapham
Sheriff
Posts: 21322
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The "contents" of the console? What do you mean by that?
 
Prasad Rooge
Greenhorn
Posts: 25
Firefox Browser Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Michael Krimgen
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

Do you want to write input from the console to an Excel file?

So something like



Or do you want to write the contents of the HTML page to the file?
 
Prasad Rooge
Greenhorn
Posts: 25
Firefox Browser Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Write text contents of html page to excel
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic