Calling static methods in Jython

Richard Gruet rgruet at intraware.com
Mon Feb 12 17:25:59 EST 2001


If the Java class is C and the static method M, simply do from Python:
C.M(args...)

Daniel Wickstrom wrote:

> I've already posted this on the jython-users list, but I haven't
> received a response.
>
> I want to use Jython with some existing java classes that contain
> static methods.  How does one call java static methods from Jython?
>
> -Dan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rgruet.vcf
Type: text/x-vcard
Size: 370 bytes
Desc: Card for Richard Gruet
URL: <http://mail.python.org/pipermail/python-list/attachments/20010212/e70fec25/attachment.vcf>


More information about the Python-list mailing list