From: Andreas Rozek <A.Rozek@GMX.De> - 2005-11-11 16:08:40
Is it possible to provide additional methods for existing (Java)
Let me give an example to clarify the situation. Imagine that I
would like to provide a method
which yields the reverse of a given string object and would like
to apply that method to any Java string object.
Of course, BeanShell would throw an error since java.lang.String
does not provide neither the requested method nor an "invoke"
method to catch the situation.
Is there any kind of mechanism (there is no need for utmost per-
formance) to emulate "invoke" for existing classes/objects?
Thanks in advance for your effort!
Andreas Rozek Phone: ++49 (7031) 222305
Bunsenstraße 80/1 Fax: -
D-71032 Böblingen EMail: Andreas.Rozek@...
Germany URL: http://www.Andreas-Rozek.de
Get latest updates about Open Source Projects, Conferences and News.