posted 19 years ago
Ok, did I a search here but no real luck.
I have this class that as one of the parameters accepts a PrintStream (apparently, since the example uses System.out, which is a PrintStream obj).
Now, how do I read this PrintStream obj? The idea here is ofcource not to use System.out, but an object from where I can then examine the text that is written there and use that in some way, instead of just showing it in the console.
I have checked the API, but dont really find anything usefull. I bet there is a way, but I cant find it.
Thanks,
Ace