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 LibraryOptionLibraryOption. 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.Methods in jnr.ffi with parameters of type LibraryOption Modifier and Type Method Description LibraryLoader<T>LibraryLoader. option(LibraryOption option, 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> TLibrary. loadLibrary(Class<T> interfaceClass, Map<LibraryOption,?> libraryOptions, String... libraryNames)Deprecated.seeLibraryLoaderfor the preferred interface to loading libraries.static <T> TLibrary. loadLibrary(String libraryName, Class<T> interfaceClass, Map<LibraryOption,?> libraryOptions)Deprecated.seeLibraryLoaderfor the preferred interface to loading libraries.protected abstract TLibraryLoader. loadLibrary(Class<T> interfaceClass, Collection<String> libraryNames, Collection<String> searchPaths, Map<LibraryOption,Object> options, boolean failImmediately)Implemented by FFI providers to load the actual library.static <T> TLibraryLoader. loadLibrary(Class<T> interfaceClass, Map<LibraryOption,?> libraryOptions, String... libraryNames)Same as callingLibraryLoader.loadLibrary(Class, Map, Map, String...)with an empty search path map.static <T> TLibraryLoader. loadLibrary(Class<T> interfaceClass, Map<LibraryOption,?> libraryOptions, Map<String,List<String>> searchPaths, String... libraryNames)Loads a native library and links the methods defined ininterfaceClassto native methods in the library.StringPlatform. locateLibrary(String libName, List<String> libraryPaths, Map<LibraryOption,Object> options)Searches through a list of directories for a native library.static booleanLibraryLoader. saveError(Map<LibraryOption,?> options, boolean methodHasSave, boolean methodHasIgnore)When either theSaveErrororIgnoreErrorannotations are used, the following matrix applies: (SL = save at library level, IM = ignore at method level, etc)
-