public static interface JNILibLoaderBase.LoaderAction
Modifier and Type | Method and Description |
---|---|
boolean |
loadLibrary(String libname,
boolean ignoreError)
Loads the library specified by libname.
The implementation should ignore, if the library has been loaded already. |
void |
loadLibrary(String libname,
String[] preload,
boolean preloadIgnoreError)
Loads the library specified by libname.
Optionally preloads the libraries specified by preload. The implementation should ignore, if any library has been loaded already. |
boolean loadLibrary(String libname, boolean ignoreError)
libname
- the library to loadignoreError
- if true, errors during loading the library should be ignoredvoid loadLibrary(String libname, String[] preload, boolean preloadIgnoreError)
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 ignored