public final class NativeLibraryLoader extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
getFileExtension(String _fileName)
Extracts the file extension (part behind last dot of a filename).
|
static boolean |
isEnabled()
Check if
NativeLibraryLoader will is active and will load libraries. |
static void |
loadLibrary(boolean _trySystemLibsFirst,
String _libName,
String... _searchPathes)
Load the given _libName from one of the given pathes (will search for the library and uses first match).
|
static void |
loadLibrary(String _libName,
SearchOrder[] _loadOrder,
String... _searchPathes)
Tries to load the given library using the given load/search order.
|
static void |
setEnabled(boolean _enabled)
Enable/Disable library loading.
|
public static boolean isEnabled()
NativeLibraryLoader will is active and will load libraries.public static void setEnabled(boolean _enabled)
_enabled - public static void loadLibrary(boolean _trySystemLibsFirst,
String _libName,
String... _searchPathes)
_libName - library to load_searchPathes - pathes to searchpublic static void loadLibrary(String _libName, SearchOrder[] _loadOrder, String... _searchPathes)
public static String getFileExtension(String _fileName)
_fileName - Copyright © 2018. All rights reserved.