Uses of Enum
jnr.ffi.LibraryOption
Packages that use LibraryOption
-
Uses of LibraryOption in jnr.ffi
Subclasses with type arguments of type LibraryOption in jnr.ffiMethods in jnr.ffi that return LibraryOptionModifier and TypeMethodDescriptionstatic LibraryOptionReturns 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 LibraryOptionModifier and TypeMethodDescriptionLibraryLoader.option(LibraryOption option, Object value) Sets an option when loading libraries.Method parameters in jnr.ffi with type arguments of type LibraryOptionModifier and TypeMethodDescriptionstatic <T> TLibrary.loadLibrary(Class<T> interfaceClass, Map<LibraryOption, ?> libraryOptions, String... libraryNames) Deprecated.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.Platform.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)
LibraryLoaderfor the preferred interface to loading libraries.