|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.gridsystems.utils.JNIUtils
public final class JNIUtils
Utility methods for JNI.
Method Summary | |
---|---|
static java.io.File |
extractDynamicLibrary(java.lang.String dynamiclibraryname,
java.lang.Class<?> pathclass)
Extracts a Dynamic library of a jar file and load into memory. |
static java.io.File |
extractDynamicLibrary(java.lang.String dynamiclibraryname,
java.lang.String path)
Extracts a Dynamic library of a jar file and loads it into memory. |
static java.lang.String[] |
getNativePrefixPostfix(java.lang.String os)
Return prefix and postfix of the dinamic libraries name in the operating system 'os'. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String[] getNativePrefixPostfix(java.lang.String os)
os
- the operating system
public static java.io.File extractDynamicLibrary(java.lang.String dynamiclibraryname, java.lang.Class<?> pathclass) throws java.lang.Exception
dynamiclibraryname
- the DL namepathclass
- the path class
java.lang.Exception
- if errorpublic static java.io.File extractDynamicLibrary(java.lang.String dynamiclibraryname, java.lang.String path) throws java.lang.Exception
dynamiclibraryname
- the DL namepath
- the path
java.lang.Exception
- if error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |