public abstract class BaseJniExtractor extends Object implements org.scijava.nativelib.JniExtractor
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ALTR_TMPDIR |
protected static String |
JAVA_TMPDIR |
protected static String |
TMP_PREFIX |
| Constructor and Description |
|---|
BaseJniExtractor() |
BaseJniExtractor(Class<?> libraryJarClass) |
| Modifier and Type | Method and Description |
|---|---|
File |
extractJni(String libPath,
String libname) |
void |
extractRegistered() |
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.
|
protected static File |
getTempDir() |
protected static final String JAVA_TMPDIR
protected static final String ALTR_TMPDIR
protected static final String TMP_PREFIX
public BaseJniExtractor()
throws IOException
IOExceptionpublic BaseJniExtractor(Class<?> libraryJarClass) throws IOException
IOExceptionprotected static File getTempDir() throws IOException
IOExceptionpublic abstract File getNativeDir()
public abstract File getJniDir()
public File extractJni(String libPath, String libname) throws IOException
extractJni in interface org.scijava.nativelib.JniExtractorIOExceptionpublic void extractRegistered()
throws IOException
extractRegistered in interface org.scijava.nativelib.JniExtractorIOExceptionCopyright © 2015–2022 Petr Kozelka. All rights reserved.