Top Description Methods
com.sun.jna

public Interface ToNativeConverter

Known Direct Subinterfaces
com.sun.jna.TypeConverter

Define conversion from a Java type to its corresponding native type.

Method Summary

Modifier and TypeMethod and Description
public Class<?>
nativeType()

Indicate the type expected from toNative.

public Object
toNative(Object value, ToNativeContext context)

Convert a Java type to an appropriate native type.

Method Detail

nativeTypeback to summary
public Class<?> nativeType()

Indicate the type expected from toNative.

toNativeback to summary
public Object toNative(Object value, ToNativeContext context)

Convert a Java type to an appropriate native type. The new type must be one of the following classes: