We help IT Professionals succeed at work.

Intercept Java text functions

VapiSoft
VapiSoft asked
on
Is there a way to intercept Java Text functions of another application.
Something like Microsoft 'detoure' application.
Comment
Watch Question

Awarded 2011
Awarded 2011
Commented:
It is probably very hard to get something similar for java, because java goes through the bytecode stage.

Probably the closest in ideology to Windows Detours I could find is this javaassist  library:

http://www.csg.is.titech.ac.jp/~chiba/javassist/tutorial/tutorial.html

It seems to be a hard thing to get something useful out of iit, though.

Author

Commented:
Hi yan.
In the meantime I found javatrace that I think will do the job betrer the javaassist.
I was assigned another project for the next few weeks so I put this aside and will get back to it afterwards.
I will then check what is the best solution.
In the meantime I will accept your solution.
Thanks.
Awarded 2011
Awarded 2011

Commented:
well, good luck!
Seems to be a tough path, but perhpas interesting stuff.