public class JniLoader extends Object
| Constructor and Description |
|---|
JniLoader() |
| Modifier and Type | Method and Description |
|---|---|
static String |
findLibrary(File directory,
String libname)
Returns the absolute path name of a native library.
|
static String |
findLibraryInClassPath(String libname,
File destination)
Returns the absolute path name of a native library.
|
static Boolean |
loadLibraries(File directory,
String libnames)
Load specified libraries.
|
static Boolean |
loadLibrary(File directory,
String libname)
Load specified library.
|
public static String findLibrary(File directory, String libname)
directory - directory location of librarieslibname - The library namepublic static String findLibraryInClassPath(String libname, File destination)
libname - The library namedestination - directory location of libraries to writepublic static Boolean loadLibraries(File directory, String libnames)
directory - directory location of librarieslibnames - libraries name comma separatedCopyright © 2010–2014 Intelligents-ia. All rights reserved.