Package com.sun.jna
Schnittstelle TypeMapper
- Alle bekannten Implementierungsklassen:
DefaultTypeMapper,W32APITypeMapper
public interface TypeMapper
Provides converters for conversion to and from native types.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibunggetFromNativeConverter(Class<?> javaType) Return theFromNativeConverterappropriate for the given Java class.getToNativeConverter(Class<?> javaType) Return theToNativeConverterappropriate for the given Java class.
-
Methodendetails
-
getFromNativeConverter
Return theFromNativeConverterappropriate for the given Java class.- Parameter:
javaType- Java class representation of the native type.- Gibt zurück:
- Converter from the native-compatible type.
-
getToNativeConverter
Return theToNativeConverterappropriate for the given Java class.- Parameter:
javaType- Java class representation of the native type.- Gibt zurück:
- Converter to the native-compatible type.
-