Package jnr.ffi.provider
Class InvalidProvider
- java.lang.Object
-
- jnr.ffi.provider.FFIProvider
-
- jnr.ffi.provider.InvalidProvider
-
final class InvalidProvider extends FFIProvider
-
-
Constructor Summary
Constructors Constructor Description InvalidProvider(java.lang.String message, java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> LibraryLoader<T>createLibraryLoader(java.lang.Class<T> interfaceClass)Creates a newLibraryLoaderinstance.RuntimegetRuntime()Gets the defaultRuntimefor this provider.-
Methods inherited from class jnr.ffi.provider.FFIProvider
getSystemProvider
-
-
-
-
Field Detail
-
message
private final java.lang.String message
-
cause
private final java.lang.Throwable cause
-
runtime
private final Runtime runtime
-
-
Method Detail
-
getRuntime
public Runtime getRuntime()
Description copied from class:FFIProviderGets the defaultRuntimefor this provider.- Specified by:
getRuntimein classFFIProvider- Returns:
- the runtime.
-
createLibraryLoader
public <T> LibraryLoader<T> createLibraryLoader(java.lang.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.
-
-