Class UniForgeJNI

java.lang.Object
com.uniforge.origin.jni.UniForgeJNI

public class UniForgeJNI extends Object
Demo class for loading the driver via JNI.
  • Constructor Details

    • UniForgeJNI

      public UniForgeJNI()
  • Method Details

    • forceLoad

      public static void forceLoad() throws IOException
      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"