|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jblas.util.LibraryLoader
public class LibraryLoader
Class which allows to load a dynamic file as resource (for example, from a jar-file)
Constructor Summary | |
---|---|
LibraryLoader()
|
Method Summary | |
---|---|
static java.lang.String |
libraryPath(java.lang.String libname)
Compute the path to the library. |
void |
loadLibrary(java.lang.String libname)
Find the library libname as a resource, copy it to a tempfile and load it using System.load(). |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LibraryLoader()
Method Detail |
---|
public void loadLibrary(java.lang.String libname)
libname
- basename of the librarypublic static java.lang.String libraryPath(java.lang.String libname)
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |