public class NativeLibraryStorage
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String[] | NATIVE_LIBRARY_EXTENSIONS | 
| Constructor and Description | 
|---|
| NativeLibraryStorage(ResourceTracker tracker) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addSearchDirectory(java.io.File directory)Adds the  Fileto the search path of thisNativeLibraryStoragewhen trying to find a native library | 
| void | addSearchJar(java.net.URL jarLocation)Search for and enable any native code contained in a JAR by copying the
 native files into the filesystem. | 
| void | cleanupTemporaryFolder()Clean up our temporary folder if we created one. | 
| java.io.File | findLibrary(java.lang.String fileName)Looks in the search directories for 'fileName',
 returning a path to the found file if it exists. | 
| java.util.List<java.io.File> | getSearchDirectories() | 
public static final java.lang.String[] NATIVE_LIBRARY_EXTENSIONS
public NativeLibraryStorage(ResourceTracker tracker)
public void cleanupTemporaryFolder()
public void addSearchDirectory(java.io.File directory)
File to the search path of this NativeLibraryStorage
 when trying to find a native librarydirectory - directory to be addedpublic java.util.List<java.io.File> getSearchDirectories()
public java.io.File findLibrary(java.lang.String fileName)
fileName - name of library to be foundpublic void addSearchJar(java.net.URL jarLocation)
jarLocation - location of jar to be searched