Top Description Methods
com.sun.jna

public Interface TypeMapper

Known Direct Implementers
com.sun.jna.DefaultTypeMapper

Provides converters for conversion to and from native types.

Method Summary

Modifier and TypeMethod and Description
public FromNativeConverter

Returns:

Converter from the native-compatible type.
getFromNativeConverter
(Class<?>
Java class representation of the native type.
javaType
)

Return the FromNativeConverter appropriate for the given Java class.

public ToNativeConverter

Returns:

Converter to the native-compatible type.
getToNativeConverter
(Class<?>
Java class representation of the native type.
javaType
)

Return the ToNativeConverter appropriate for the given Java class.

Method Detail

getFromNativeConverterback to summary
public FromNativeConverter getFromNativeConverter(Class<?> javaType)

Return the FromNativeConverter appropriate for the given Java class.

Parameters
javaType:Class<?>

Java class representation of the native type.

Returns:FromNativeConverter

Converter from the native-compatible type.

getToNativeConverterback to summary
public ToNativeConverter getToNativeConverter(Class<?> javaType)

Return the ToNativeConverter appropriate for the given Java class.

Parameters
javaType:Class<?>

Java class representation of the native type.

Returns:ToNativeConverter

Converter to the native-compatible type.