Class JNIUtil

java.lang.Object
com.apple.foundationdb.JNIUtil

public class JNIUtil extends Object
Utility for loading a dynamic library from the classpath.
  • Method Details

    • exportLibrary

      public static File exportLibrary(String libName) throws IOException
      Export a library from classpath resources to a temporary file.
      Parameters:
      libName - the name of the library to attempt to export. This name should be undecorated with file extensions and, in the case of *nix, "lib" prefixes.
      Returns:
      the exported temporary file
      Throws:
      IOException - because File