This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


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
Sheriff

Joined: Oct 14, 2005
Posts: 19719
    
  10

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
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Write into excel from console output using POI library
 
It's not a secret anymore!