public class NativeLibraryLoaderHelper extends Object
| Constructor and Description |
|---|
NativeLibraryLoaderHelper() |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,byte[]> |
getNativeLibraryBinaries()
Helper method to get all shared lib binaries in a map, so you can load them yourself more easily.
|
static void |
load(String file)
Shortcut to System.load so it loads a library using JavaNativeUtils Classloader.
|
static void |
loadNativeLibraries()
Will load the native libraries if necessary.
|
static void |
loadNativeLibraries(String aPath)
Will load the native libraries if necessary.
|
public static void loadNativeLibraries()
throws LinkageError
LinkageErrorpublic static Map<String,byte[]> getNativeLibraryBinaries()
public static void load(String file) throws LinkageError
LinkageErrorpublic static void loadNativeLibraries(String aPath) throws LinkageError
LinkageErrorCopyright © 2023. All rights reserved.