public final class NativeCodeLoader extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isLibraryLoaded(String libraryName)
Checks if a native library is already loaded.
|
static void |
loadLibraryFromFile(String directory,
String filename)
Loads a native library from a file.
|
public static void loadLibraryFromFile(String directory, String filename) throws IOException
directory - the directory in which the library is supposed to be locatedfilename - filename of the library to be loadedIOException - thrown if an internal native library cannot be extractedpublic static boolean isLibraryLoaded(String libraryName)
libraryName - the filename of the library to checktrue if the library is already loaded, false otherwiseCopyright © 2014 The Apache Software Foundation. All rights reserved.