Uses of Enum
jnr.ffi.LibraryOption
Packages that use LibraryOption
-
Uses of LibraryOption in jnr.ffi
Fields in jnr.ffi with type parameters of type LibraryOptionMethods 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.Linux.locateLibrary
(String libName, List<String> libraryPaths, Map<LibraryOption, Object> options) 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) -
Uses of LibraryOption in jnr.ffi.provider.jffi
Fields in jnr.ffi.provider.jffi with type parameters of type LibraryOptionModifier and TypeFieldDescriptionprivate final Map
<LibraryOption, ?> DefaultInvokerFactory.libraryOptions
private final Map
<LibraryOption, ?> ReflectionLibraryLoader.LazyLoader.libraryOptions
private final Map
<LibraryOption, Object> NativeLibrary.options
Method parameters in jnr.ffi.provider.jffi with type arguments of type LibraryOptionModifier and TypeMethodDescriptionprivate <T> T
AsmLibraryLoader.generateInterfaceImpl
(NativeLibrary library, Class<T> interfaceClass, Map<LibraryOption, ?> libraryOptions, AsmClassLoader classLoader) static CallingConvention
InvokerUtil.getCallingConvention
(Class interfaceClass, Map<LibraryOption, ?> options) static CallingConvention
InvokerUtil.getCallingConvention
(Map<LibraryOption, ?> libraryOptions) (package private) static SignatureTypeMapper
LibraryLoader.getSignatureTypeMapper
(Map<LibraryOption, ?> libraryOptions) (package private) <T> T
AsmLibraryLoader.loadLibrary
(NativeLibrary library, Class<T> interfaceClass, Map<LibraryOption, ?> libraryOptions, boolean failImmediately) (package private) abstract <T> T
LibraryLoader.loadLibrary
(NativeLibrary library, Class<T> interfaceClass, Map<LibraryOption, ?> libraryOptions, boolean failImmediately) NativeLibraryLoader.loadLibrary
(Class<T> interfaceClass, Collection<String> libraryNames, Collection<String> searchPaths, Map<LibraryOption, Object> options, boolean failImmediately) (package private) <T> T
ReflectionLibraryLoader.loadLibrary
(NativeLibrary library, Class<T> interfaceClass, Map<LibraryOption, ?> libraryOptions, boolean failImmediately) Constructor parameters in jnr.ffi.provider.jffi with type arguments of type LibraryOptionModifierConstructorDescriptionDefaultInvokerFactory
(Runtime runtime, NativeLibrary library, SignatureTypeMapper typeMapper, FunctionMapper functionMapper, CallingConvention libraryCallingConvention, Map<LibraryOption, ?> libraryOptions, boolean libraryIsSynchronized) private
LazyLoader
(NativeLibrary library, Class<T> interfaceClass, Map<LibraryOption, ?> libraryOptions) (package private)
NativeLibrary
(Collection<String> libraryNames, Collection<String> searchPaths, Map<LibraryOption, Object> options)
LibraryLoader
for the preferred interface to loading libraries.