public final class NativeLibraryLoader extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
concatFilePath(boolean _includeTrailingDelimiter,
String... _parts)
Concats a path from all given parts, using the path delimiter for the currently used platform.
|
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 |
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 String concatFilePath(boolean _includeTrailingDelimiter, String... _parts)
_includeTrailingDelimiter - include delimiter after last token_parts - parts to concatpublic static String getFileExtension(String _fileName)
_fileName - Copyright © 2017. All rights reserved.