GetMethod method (LotusScript® Language)

This method returns a method from a JavaClass object.

Defined in

JavaClass

Syntax

Set Javamethod = javaclass .GetMethod( Methodname, Signature )

Parameters

Methodname

String. Case sensitive. Name of the method you want a handle of.

Signature

String. JNI Signature representing the method needed.

JNI Signature

Description

B

byte

C

char

D

double

F

float

I

int

J

long

S

short

V

void

Z

Boolean

L<fully-qualified-class>

fully-qualified class

[<sigtype>

Array of <sigtype>

Usage

This method returns the method matching the name given with the specified signature.

Error thrown

NoSuchMethodException if the Java method does not exist with the signature given.

Example