public final class RuntimeLoader<T> extends Object
Constructor and Description |
---|
RuntimeLoader(String libraryName,
String extractionRoot,
Class<T> cls)
Creates a new library loader.
|
Modifier and Type | Method and Description |
---|---|
static String |
getDefaultExtractionRoot()
Gets the default extration root location (~/.wpilib/nativecache).
|
void |
loadLibrary()
Loads a native library.
|
void |
loadLibraryHashed()
Load a native library by directly hashing the file.
|
public static String getDefaultExtractionRoot()
public void loadLibrary() throws IOException
IOException
public void loadLibraryHashed() throws IOException
IOException