public interface JniExtractor
Modifier and Type | Method and Description |
---|---|
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.
|
File extractJni(String libPath, String libname) throws IOException
libPath
- library pathlibname
- System.loadLibrary() compatible library nameIOException
- when extracting the desired file failedvoid extractRegistered() throws IOException
IOException
- when extracting the desired file failedCopyright © 2015–2022 SciJava. All rights reserved.