I am interested in capturing text that is outputted to the terminal window. I have already overridden the println(
string) and print(string) methods in PrintStream; however, I'm not sure how to capture the outputStream when it uses the flush() method.
Any ideas?
Thanks
Justin