Package com.sun.jna
Interface TypeMapper
- 
- All Known Implementing Classes:
- DefaultTypeMapper,- W32APITypeMapper
 
 public interface TypeMapperProvides converters for conversion to and from native types.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description FromNativeConvertergetFromNativeConverter(java.lang.Class<?> javaType)Return theFromNativeConverterappropriate for the given Java class.ToNativeConvertergetToNativeConverter(java.lang.Class<?> javaType)Return theToNativeConverterappropriate for the given Java class.
 
- 
- 
- 
Method Detail- 
getFromNativeConverterFromNativeConverter getFromNativeConverter(java.lang.Class<?> javaType) Return theFromNativeConverterappropriate for the given Java class.- Parameters:
- javaType- Java class representation of the native type.
- Returns:
- Converter from the native-compatible type.
 
 - 
getToNativeConverterToNativeConverter getToNativeConverter(java.lang.Class<?> javaType) Return theToNativeConverterappropriate for the given Java class.- Parameters:
- javaType- Java class representation of the native type.
- Returns:
- Converter to the native-compatible type.
 
 
- 
 
-