public class NativeLibraryLoader
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
NativeLibraryLoader.LoadState |
| Modifier and Type | Method and Description |
|---|---|
static NativeLibraryLoader |
getInstance()
Get a reference to the NativeLibraryLoader.
|
static NativeLibraryLoader.LoadState |
getLoadState() |
void |
loadLibrary(LibfuseVersion version,
java.lang.String tmpDir)
Load the library.
|
public static NativeLibraryLoader.LoadState getLoadState()
public static NativeLibraryLoader getInstance()
public void loadLibrary(LibfuseVersion version, java.lang.String tmpDir) throws java.io.IOException
version - the version of libfuse to loadtmpDir - A temporary directory to use
to copy the native library to when loading from the classpath.
If null, or the empty string, we rely on Java's
File.createTempFile(String, String)
function to provide a temporary location.
The temporary file will be registered for deletion
on exit.java.io.IOException - if a filesystem operation failsCopyright © 2024. All Rights Reserved.