Top Fields Constructors Methods
jnr.ffi.provider

pack-priv final Class InvalidProvider

extends FFIProvider
Class Inheritance
Imports
jnr.ffi.LibraryLoader, .LibraryOption, .Runtime, java.util.Collection, .Map

Field Summary

Modifier and TypeField and Description
private final Throwable
private final String
private final Runtime

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public <T> LibraryLoader<T>
createLibraryLoader(Class<T>
The library interface class.
interfaceClass
)

Implements abstract jnr.ffi.provider.FFIProvider.createLibraryLoader.

Creates a new LibraryLoader instance.
public Runtime
getRuntime()

Implements abstract jnr.ffi.provider.FFIProvider.getRuntime.

Gets the default Runtime for this provider.
Inherited from jnr.ffi.provider.FFIProvider:
getSystemProvider

Field Detail

causeback to summary
private final Throwable cause
messageback to summary
private final String message
runtimeback to summary
private final Runtime runtime

Constructor Detail

InvalidProviderback to summary
pack-priv InvalidProvider(String message, Throwable cause)

Method Detail

createLibraryLoaderback to summary
public <T> LibraryLoader<T> createLibraryLoader(Class<T> interfaceClass)

Implements abstract jnr.ffi.provider.FFIProvider.createLibraryLoader.

Doc from jnr.ffi.provider.FFIProvider.createLibraryLoader.

Creates a new LibraryLoader instance.

Parameters
<T>
The library type.
interfaceClass:Class<T>

The library interface class.

Returns:LibraryLoader<T>

the LibraryLoader instance.

Annotations
@Override
getRuntimeback to summary
public Runtime getRuntime()

Implements abstract jnr.ffi.provider.FFIProvider.getRuntime.

Doc from jnr.ffi.provider.FFIProvider.getRuntime.

Gets the default Runtime for this provider.

Returns:Runtime

the runtime.

Annotations
@Override