From: Ype K. <yk...@xs...> - 2003-04-16 18:59:16
|
On Wednesday 16 April 2003 09:03, MacLeod, Kenny wrote: > Folks, > > How do I dig out the java object which is being wrapped by a > PyJavaInstance? There doesn't seem to be an appropriate method to do th= is. Have a look at: http://www.jython.org/docs/javadoc/org/python/core/PyObject.html#__tojava= __(java.lang.Class) I think the reason why it's in PyObject and not in PyJavaInstance is that eg. a PyString (a subclass of PyObject) can be converted to a java.lang.S= tring=20 Kind regards, Ype |