aspose file tools*
The moose likes Java in General and the fly likes Write into excel from console output using POI library Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Write into excel from console output using POI library" Watch "Write into excel from console output using POI library" New topic
Author

Write into excel from console output using POI library

Prasad Rooge
Greenhorn

Joined: May 28, 2012
Posts: 25

Is there any way to write into excel from console
Michael Krimgen
Ranch Hand

Joined: Jul 08, 2012
Posts: 35
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

Joined: May 28, 2012
Posts: 25

Ya.. how to write contents of console to excel using POI
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18669
    
    8

The "contents" of the console? What do you mean by that?
Prasad Rooge
Greenhorn

Joined: May 28, 2012
Posts: 25

Michael Krimgen
Ranch Hand

Joined: Jul 08, 2012
Posts: 35
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

Joined: May 28, 2012
Posts: 25

Write text contents of html page to excel
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Write into excel from console output using POI library