|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.scijava.nativelib.BaseJniExtractor
public abstract class BaseJniExtractor
| Constructor Summary | |
|---|---|
BaseJniExtractor()
|
|
BaseJniExtractor(Class libraryJarClass)
|
|
| Method Summary | |
|---|---|
File |
extractJni(String libPath,
String libname)
Extract a JNI library from the classpath to a temporary file. |
void |
extractRegistered()
Extract all libraries which are registered for auto-extraction to files in the temporary directory. |
abstract File |
getJniDir()
this is where JNI libraries are extracted to (e.g. |
abstract File |
getNativeDir()
this is where native dependencies are extracted to (e.g. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BaseJniExtractor()
throws IOException
IOException
public BaseJniExtractor(Class libraryJarClass)
throws IOException
IOException| Method Detail |
|---|
public abstract File getNativeDir()
public abstract File getJniDir()
public File extractJni(String libPath,
String libname)
throws IOException
extractJni in interface JniExtractorlibPath - library pathlibname - System.loadLibrary() compatible library name
IOException
public void extractRegistered()
throws IOException
extractRegistered in interface JniExtractorIOException
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||