Package com.uniforge.origin.jni
Class UniForgeJNI
java.lang.Object
com.uniforge.origin.jni.UniForgeJNI
Demo class for loading the driver via JNI.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classHelper class for determining whether or not to load the driver on static initialization. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidForce load the library.static intTells the driver to initialize.
-
Constructor Details
-
UniForgeJNI
public UniForgeJNI()
-
-
Method Details
-
forceLoad
Force load the library.- Throws:
IOException- thrown if the native library cannot be found
-
initialize
public static int initialize()Tells the driver to initialize. This is a demo of a native JNI method from the driver.- Returns:
- the int returned by the driver
- See Also:
-
- "UniForgeJNI.cpp"
-