Package com.sun.jna
Klasse NativeMappedConverter
java.lang.Object
com.sun.jna.NativeMappedConverter
- Alle implementierten Schnittstellen:
FromNativeConverter,ToNativeConverter,TypeConverter
Provides type conversion for instances of
NativeMapped.-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungfromNative(Object nativeValue, FromNativeContext context) Convert the given native object into its Java representation using the given context.static NativeMappedConvertergetInstance(Class<?> cls) Class<?> Indicate the native type used by this converter.toNative(Object value, ToNativeContext context) Convert a Java type to an appropriate native type.
-
Konstruktordetails
-
NativeMappedConverter
-
-
Methodendetails
-
getInstance
-
defaultValue
-
fromNative
Beschreibung aus Schnittstelle kopiert:FromNativeConverterConvert the given native object into its Java representation using the given context.- Angegeben von:
fromNativein SchnittstelleFromNativeConverter
-
nativeType
Beschreibung aus Schnittstelle kopiert:FromNativeConverterIndicate the native type used by this converter.- Angegeben von:
nativeTypein SchnittstelleFromNativeConverter- Angegeben von:
nativeTypein SchnittstelleToNativeConverter
-
toNative
Beschreibung aus Schnittstelle kopiert:ToNativeConverterConvert a Java type to an appropriate native type. The new type must be one of the following classes:Pointer- Boolean
- Byte
- Short
- Character
- Integer
NativeLong- Long
- Float
- Double
Structure- String
WStringBuffer(unsupported in direct mode)- primitive array (unsupported in direct mode)
- Angegeben von:
toNativein SchnittstelleToNativeConverter
-