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: 10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3    Statistic    FMM    Blog  

Java.FindClass

Checks if a class is available.

Component Version macOS Windows Linux Server 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

Release notes

Blog Entries

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


Java.DefineClass - Java.GetContainerFileName

Feedback: Report problem or ask question.




Links
MBS FileMaker blog

Start Chat