- java.lang.Object
-
- jnr.ffi.provider.FFIProvider
-
- jnr.ffi.provider.jffi.Provider
-
public final class Provider extends FFIProvider
-
-
Constructor Summary
Constructors Constructor Description Provider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> LibraryLoader<T>createLibraryLoader(Class<T> interfaceClass)Creates a newLibraryLoaderinstance.RuntimegetRuntime()Gets the defaultRuntimefor this provider.-
Methods inherited from class jnr.ffi.provider.FFIProvider
getSystemProvider
-
-
-
-
Method Detail
-
getRuntime
public final Runtime getRuntime()
Description copied from class:FFIProviderGets the defaultRuntimefor this provider.- Specified by:
getRuntimein classFFIProvider- Returns:
- the runtime.
-
createLibraryLoader
public <T> LibraryLoader<T> createLibraryLoader(Class<T> interfaceClass)
Description copied from class:FFIProviderCreates a newLibraryLoaderinstance.- Specified by:
createLibraryLoaderin classFFIProvider- Type Parameters:
T- The library type.- Parameters:
interfaceClass- The library interface class.- Returns:
- the
LibraryLoaderinstance.
-
-