Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Capturing Terminal Window Text (overloading flush()?)  RSS feed

 
Justin F
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Justin F
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ooops.
I just had to override the

method
JF
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!