|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Library
An interface to native libraries.
Method Summary | |
---|---|
String |
getBinKey()
Gets the path finder key for resolving binary paths. |
int |
getLibrary()
Gets the library code. |
String |
getLibraryPath()
Gets the path to the native library. |
String |
getLoaderPath()
Gets the static path to the loader library. |
void |
setBinKey(String key)
Sets the path finder key for resolving binary paths. |
void |
setLibraryPath(String path)
Sets the path to the native library. |
void |
setLoaderPath(String path)
Sets the static path to the loader library. |
Method Detail |
---|
String getBinKey()
void setBinKey(String key)
key
- the path finder key.String getLoaderPath()
void setLoaderPath(String path) throws LogException
path
- the path to the loader library.
LogException
- if the library cannot be set.String getLibraryPath()
void setLibraryPath(String path)
path
- the path to the native library.int getLibrary()
UnsatisfiedLinkError
- if no loader.
NullPointerException
- if no library.
IllegalArgumentException
- if not available.
UnsupportedOperationException
- if failed to initialize.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |