Overview Module Function Class Tea 3.2.5 Reference Documentation
© 2009 PDM&FC

Function java-get-method

java-get-method javaClassName methodName [argType1 [argType2 ...]]

Returns an anonymous function that can be used to wrap Tea calls to the specified static method.

Parameters:
javaClassName - String or Symbol identifying a Java class.
methodName - String or Symbol identifying a static method in the Java class.
argTypeN - String or Symbol identifying the type of the Nth parameter of the method (fqcn or primitive type name). Example values are: "int", "long", etc...

Returns a wrapper around the method. The argTypeN type names help to locate the required method, when default convertion rules are now enough to locate the method using java-exec-method.

Since: 3.2.1

Overview Module Function Class Tea 3.2.5 Reference Documentation
© 2009 PDM&FC
Report a bug or request new features
© 2009