Package com.apple.foundationdb
Class JNIUtil
java.lang.Object
com.apple.foundationdb.JNIUtil
Utility for loading a dynamic library from the classpath.
-
Method Summary
Modifier and TypeMethodDescriptionstatic File
exportLibrary
(String libName) Export a library from classpath resources to a temporary file.
-
Method Details
-
exportLibrary
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
- becauseFile
-