Package com.sun.jna

Interface NativeMapped

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Object fromNative​(java.lang.Object nativeValue, FromNativeContext context)
      Convert the given native object into its Java representation using the given context.
      java.lang.Class<?> nativeType()
      Indicate the native type used by this converter.
      java.lang.Object toNative()
      Convert this object into a supported native type.
    • Method Detail

      • fromNative

        java.lang.Object fromNative​(java.lang.Object nativeValue,
                                    FromNativeContext context)
        Convert the given native object into its Java representation using the given context.
        Parameters:
        nativeValue - Java representation of the native type to be converted.
        context - Context in which the conversion is taking place.
        Returns:
        Converted object.
      • toNative

        java.lang.Object toNative()
        Convert this object into a supported native type.
        Returns:
        Java representation of the original Java object converted to a native type.
      • nativeType

        java.lang.Class<?> nativeType()
        Indicate the native type used by this converter.
        Returns:
        Java class representation of the native type.