
public class JNILibrary extends Object implements Comparable<JNILibrary>
| Constructor and Description |
|---|
JNILibrary(String name,
Long version) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(JNILibrary o) |
String |
getName() |
Long |
getVersion() |
boolean |
isLoadAttempted() |
boolean |
isLoadSuccessful() |
static void |
load(String appname,
JNILibrary library)
Load the given library into the given application.
|
String |
toString() |
public String getName()
public Long getVersion()
public boolean isLoadAttempted()
public boolean isLoadSuccessful()
public static void load(String appname, JNILibrary library)
appname - the name of the application. This should match what shows up in
jar manifests or native property files.library - the library objectUnsatisfiedLinkError - if library cannot be loaded.public int compareTo(JNILibrary o)
compareTo in interface Comparable<JNILibrary>Copyright © 2018 Humble Software. All rights reserved.