Package | Description |
---|---|
jnr.ffi |
Modifier and Type | Method and Description |
---|---|
static LibraryOption |
LibraryOption.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LibraryOption[] |
LibraryOption.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
LibraryLoader<T> |
LibraryLoader.option(LibraryOption option,
Object value)
Sets an option when loading libraries.
|
Modifier and Type | Method and Description |
---|---|
protected abstract T |
LibraryLoader.loadLibrary(Class<T> interfaceClass,
Collection<String> libraryNames,
Collection<String> searchPaths,
Map<LibraryOption,Object> options)
Implemented by FFI providers to load the actual library.
|
static <T> T |
Library.loadLibrary(Class<T> interfaceClass,
Map<LibraryOption,?> libraryOptions,
String... libraryNames)
Deprecated.
see
LibraryLoader for the preferred interface to loading libraries. |
static <T> T |
Library.loadLibrary(String libraryName,
Class<T> interfaceClass,
Map<LibraryOption,?> libraryOptions)
Deprecated.
see
LibraryLoader for the preferred interface to loading libraries. |
Copyright © 2015. All Rights Reserved.