Salesforce

JCallStatic (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

JCallStatic (Magic xpa 3.x)

Calls to static Java class methods of a Java object.

Syntax:

JCallStatic ([class.]method, method signature, parameters)

Parameters:

method – An alphanumeric value defining the method name.

method signature – An alphanumeric value defining the method signature.

parameters – An alphanumeric value defining the arguments that need to be passed to the Java class.

Returns:

The return value of the method. The attribute is determined according to the value returned.

Example:

JCallStatic(‘java.lang.Integer.toHexString’,’ (I)Ljava/lang/String;’,16) will return an alpha string with the value '10'.

See also:

Java Functions

The Online Samples project (program JV03)

Reference
Attachment 
Attachment