jnr.ffi.provider.jffi
Class ParameterConverter
java.lang.Object
jnr.ffi.provider.jffi.ParameterConverter
- All Implemented Interfaces:
- ToNativeConverter
public final class ParameterConverter
- extends Object
- implements ToNativeConverter
Proxy to hold information for parameter conversion to native types.
This wraps a ToNativeConverter, but with a simplified interface to
ease code generation.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParameterConverter
public ParameterConverter(ToNativeConverter converter,
ToNativeContext ctx)
toNative
public final Object toNative(Object value,
ToNativeContext unused)
- Specified by:
toNative in interface ToNativeConverter
toNative
public final Object toNative(Object value)
nativeType
public final Class nativeType()
- Specified by:
nativeType in interface ToNativeConverter
Copyright © 2012. All Rights Reserved.