Package com.sun.jna
Interface FromNativeConverter
- All Known Subinterfaces:
TypeConverter
- All Known Implementing Classes:
EnumConverter
,NativeMappedConverter
public interface FromNativeConverter
Define conversion from a native type to the appropriate Java type.
-
Method Summary
Modifier and TypeMethodDescriptionfromNative
(Object nativeValue, FromNativeContext context) Convert the given native object into its Java representation using the given context.Class<?>
Indicate the native type used by this converter.
-
Method Details
-
fromNative
Convert the given native object into its Java representation using the given context. -
nativeType
Class<?> nativeType()Indicate the native type used by this converter.
-