Uses of Enum
jnr.ffi.LibraryOption
Packages that use LibraryOption
-
Uses of LibraryOption in jnr.ffi
Methods in jnr.ffi that return LibraryOptionModifier and TypeMethodDescriptionstatic LibraryOption
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 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> T
Library.loadLibrary
(Class<T> interfaceClass, Map<LibraryOption, ?> libraryOptions, String... libraryNames) Deprecated.static <T> T
Library.loadLibrary
(String libraryName, Class<T> interfaceClass, Map<LibraryOption, ?> libraryOptions) Deprecated.seeLibraryLoader
for the preferred interface to loading libraries.protected abstract T
LibraryLoader.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> T
LibraryLoader.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> T
LibraryLoader.loadLibrary
(Class<T> interfaceClass, Map<LibraryOption, ?> libraryOptions, Map<String, List<String>> searchPaths, String... libraryNames) Loads a native library and links the methods defined ininterfaceClass
to 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 boolean
LibraryLoader.saveError
(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)
LibraryLoader
for the preferred interface to loading libraries.