Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4    Statistic  

Java.FindClass

Checks if a class is available.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Java 10.3 Yes Yes Yes Yes No
MBS( "Java.FindClass"; ClassName )   More

Parameters

Parameter Description Example
ClassName The name of the java class. "com.mbs.test"

Result

Returns 1, 0 or error.

Description

Checks if a class is available.
Returns 1 if class is found, but 0 if not.

Examples

Check for class named test:

MBS( "Java.FindClass"; "test" )

Check for string class:

MBS( "Java.FindClass"; "java.lang.String" )

Example result: 1

See also

Blog Entries

Release notes

Created 19th May 2020, last changed 19th May 2020


Java.DefineClass   -   Java.GetContainerFileName

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins