Uses of Class
jnr.ffi.LibraryOption
-
Packages that use LibraryOption Package Description jnr.ffi -
-
Uses of LibraryOption in jnr.ffi
Methods in jnr.ffi that return LibraryOption Modifier and Type Method 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.Methods in jnr.ffi with parameters of type LibraryOption Modifier and Type Method Description LibraryLoader<T>
LibraryLoader. option(LibraryOption option, java.lang.Object value)
Sets an option when loading libraries.Method parameters in jnr.ffi with type arguments of type LibraryOption Modifier and Type Method Description static <T> T
Library. loadLibrary(java.lang.Class<T> interfaceClass, java.util.Map<LibraryOption,?> libraryOptions, java.lang.String... libraryNames)
Deprecated.seeLibraryLoader
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.seeLibraryLoader
for the preferred interface to loading libraries.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, boolean failImmediately)
Implemented by FFI providers to load the actual library.static <T> T
LibraryLoader. loadLibrary(java.lang.Class<T> interfaceClass, java.util.Map<LibraryOption,?> libraryOptions, java.lang.String... libraryNames)
Same as callingLibraryLoader.loadLibrary(Class, Map, Map, String...)
with an empty search path map.static <T> T
LibraryLoader. loadLibrary(java.lang.Class<T> interfaceClass, java.util.Map<LibraryOption,?> libraryOptions, java.util.Map<java.lang.String,java.util.List<java.lang.String>> searchPaths, java.lang.String... libraryNames)
Loads a native library and links the methods defined ininterfaceClass
to native methods in the library.java.lang.String
Platform. locateLibrary(java.lang.String libName, java.util.List<java.lang.String> libraryPaths, java.util.Map<LibraryOption,java.lang.Object> options)
Searches through a list of directories for a native library.static boolean
LibraryLoader. saveError(java.util.Map<LibraryOption,?> options, boolean methodHasSave, boolean methodHasIgnore)
When either theSaveError
orIgnoreError
annotations are used, the following matrix applies: (SL = save at library level, IM = ignore at method level, etc)
-