30 #define JM(ret,params) "(" params ")" ret
32 #define TJString "Ljava/lang/String;"
73 bool staticField(
const char* fieldName,
char** result);
81 bool staticField(
const char* fieldName,
int* result);
90 bool staticMethod(
const char* methodName,
int** returnValue,
const char* param01);
99 bool staticMethod(
const char* methodName,
const char* param01,
const char* param02);
JavaClass(JNIEnv *JNIEnvironment, const char *classPath)
Constructor taking the Java environment and the required class path.
Wraps a Java class to allow access to it's static fields and methods using JNI.
bool staticField(const char *fieldName, char **result)
Access a static String field of the Java class.
bool staticMethod(const char *methodName, int **returnValue, const char *param01)
Call a static method with one parameter which returns an integer array within the Java class...