public static interface JNILibLoaderBase.LoaderAction
| Modifier and Type | Method and Description |
|---|---|
boolean |
loadLibrary(String libname,
boolean ignoreError,
ClassLoader cl)
Loads the library specified by libname.
|
void |
loadLibrary(String libname,
String[] preload,
boolean preloadIgnoreError,
ClassLoader cl)
Loads the library specified by libname.
|
boolean loadLibrary(String libname, boolean ignoreError, ClassLoader cl)
libname - the library to loadignoreError - if true, errors during loading the library should be ignoredcl - optional ClassLoader, used to locate the libraryvoid loadLibrary(String libname, String[] preload, boolean preloadIgnoreError, ClassLoader cl)
libname - the library to loadpreload - the libraries to load before loading the main library if not nullpreloadIgnoreError - if true, errors during loading the preload-libraries should be ignoredcl - optional ClassLoader, used to locate the library