public class LibraryLoader extends Object
| Constructor and Description |
|---|
LibraryLoader() |
| Modifier and Type | Method and Description |
|---|---|
static String |
extractResource(String path,
boolean isTemp)
Extract library in resource into filesystem.
|
static void |
loadLibrary(String libraryPath)
Firstly attempts to load the native library specified by the libraryPath.
|
public static void loadLibrary(String libraryPath)
libraryPath - library pathpublic static String extractResource(String path, boolean isTemp) throws IOException
path - Local resource pathisTemp - If extract to template fileIOException - throw when IO ExceptionCopyright © 2021. All rights reserved.