Class JFNative

java.lang.Object
javaforce.jni.JFNative

public class JFNative extends Object
  • Constructor Details

    • JFNative

      public JFNative()
  • Method Details

    • load

      public static void load()
      Loads the JavaForce native library (optional). This library is not needed if the JavaForce loaders are used.
    • findLibraries

      public static boolean findLibraries(File[] folders, Library[] libs, String ext)
      Find native libraries in folder (recursive).
    • allocate

      public static ByteBuffer allocate(int size)
      Allocate a Direct ByteBuffer.
    • free

      public static void free(ByteBuffer buffer)
      Free memory backing a Direct ByteBuffer. Failing to call free() will result in memory leak.