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.ffiFields in jnr.ffi with type parameters of type LibraryOptionModifier and TypeFieldDescriptionprivate final Map<LibraryOption, Object> LibraryLoader.optionMapMethods 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.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 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) -
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.libraryOptionsprivate final Map<LibraryOption, ?> ReflectionLibraryLoader.LazyLoader.libraryOptionsprivate final Map<LibraryOption, Object> NativeLibrary.optionsMethod parameters in jnr.ffi.provider.jffi with type arguments of type LibraryOptionModifier and TypeMethodDescriptionprivate <T> TAsmLibraryLoader.generateInterfaceImpl(NativeLibrary library, Class<T> interfaceClass, Map<LibraryOption, ?> libraryOptions, AsmClassLoader classLoader) static CallingConventionInvokerUtil.getCallingConvention(Class interfaceClass, Map<LibraryOption, ?> options) static CallingConventionInvokerUtil.getCallingConvention(Map<LibraryOption, ?> libraryOptions) (package private) static SignatureTypeMapperLibraryLoader.getSignatureTypeMapper(Map<LibraryOption, ?> libraryOptions) (package private) <T> TAsmLibraryLoader.loadLibrary(NativeLibrary library, Class<T> interfaceClass, Map<LibraryOption, ?> libraryOptions, boolean failImmediately) (package private) abstract <T> TLibraryLoader.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> TReflectionLibraryLoader.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) privateLazyLoader(NativeLibrary library, Class<T> interfaceClass, Map<LibraryOption, ?> libraryOptions) (package private)NativeLibrary(Collection<String> libraryNames, Collection<String> searchPaths, Map<LibraryOption, Object> options)
LibraryLoaderfor the preferred interface to loading libraries.