my dog learned polymorphism*
The moose likes I/O and Streams and the fly likes how to capture output in stream Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "how to capture output in stream" Watch "how to capture output in stream" New topic
Author

how to capture output in stream

Timothy Chin
Greenhorn

Joined: Sep 26, 2004
Posts: 6
Hi there,
I have done some codes in java and would like to capture the output from buffer into files. I did create some files using java in the same directory, but I can't properly capture output from the code.
Is there any way to do this?
Timothy
Timothy Chin
Greenhorn

Joined: Sep 26, 2004
Posts: 6
never mind I think I got it
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to capture output in stream