Intercepting Java application output
Posted on 2001-08-09
I'm just wondering if ther is anyway of writing a software that will be able to java .class file and then intercepting all its output for manipulation and display the manipulated output on the screen in replace of the original ones.
for example if I compile a source file that have one of the line :
and compile it as abc.class
if i run the abc.class, is there anyway of developing a program that can intercept the output and manipulate it from "Testing" to "TESTING" before displaying on the screen?
so that on the screen displayed:
instead of the original "Testing"