Package com.sun.jna

Schnittstelle TypeMapper

Alle bekannten Implementierungsklassen:
DefaultTypeMapper, W32APITypeMapper

public interface TypeMapper
Provides converters for conversion to and from native types.
  • Methodendetails

    • getFromNativeConverter

      FromNativeConverter getFromNativeConverter(Class<?> javaType)
      Return the FromNativeConverter appropriate for the given Java class.
      Parameter:
      javaType - Java class representation of the native type.
      Gibt zurück:
      Converter from the native-compatible type.
    • getToNativeConverter

      ToNativeConverter getToNativeConverter(Class<?> javaType)
      Return the ToNativeConverter appropriate for the given Java class.
      Parameter:
      javaType - Java class representation of the native type.
      Gibt zurück:
      Converter to the native-compatible type.