I have program that does OCR conversion using asprise plugin, now i want to save the whole console output to a text file. If somebody can point me in the right direction it would be very helpful.
By the way I use Eclipse.
Thanks.

"the whole console output".
what you can do, is print the text you write there yourself.
at the very same place you call System.out.xx(x); just append the value of x to a textfile.

You can use System.setOut(PrintStream out) to send all your console output to a file instead of the console, without having to change any other code.

Thanks to both you sirs for helping me out, the setout method did the trick. Thanks once again.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.