Package | Description |
---|---|
jnr.ffi |
Modifier and Type | Method and Description |
---|---|
static LibraryOption |
LibraryOption.valueOf(java.lang.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,
java.lang.Object value)
Sets an option when loading libraries.
|
Modifier and Type | Method and Description |
---|---|
protected abstract T |
LibraryLoader.loadLibrary(java.lang.Class<T> interfaceClass,
java.util.Collection<java.lang.String> libraryNames,
java.util.Collection<java.lang.String> searchPaths,
java.util.Map<LibraryOption,java.lang.Object> options)
Implemented by FFI providers to load the actual library.
|
static <T> T |
Library.loadLibrary(java.lang.Class<T> interfaceClass,
java.util.Map<LibraryOption,?> libraryOptions,
java.lang.String... libraryNames)
Deprecated.
see
LibraryLoader for the preferred interface to loading libraries. |
static <T> T |
Library.loadLibrary(java.lang.String libraryName,
java.lang.Class<T> interfaceClass,
java.util.Map<LibraryOption,?> libraryOptions)
Deprecated.
see
LibraryLoader for the preferred interface to loading libraries. |
static boolean |
LibraryLoader.saveError(java.util.Map<LibraryOption,?> options,
boolean methodHasSave,
boolean methodHasIgnore)
When either the
SaveError or
IgnoreError annotations are used, the
following matrix applies:
(SL = save at library level, IM = ignore at method level, etc) |
Copyright © 2017. All rights reserved.