Package com.sun.jna.win32
Class W32APITypeMapper
- java.lang.Object
-
- com.sun.jna.DefaultTypeMapper
-
- com.sun.jna.win32.W32APITypeMapper
-
- All Implemented Interfaces:
TypeMapper
public class W32APITypeMapper extends DefaultTypeMapper
Provide standard conversion for W32 API types. This comprises the following native types:- Unicode or ASCII/MBCS strings and arrays of string, as appropriate
- BOOL
- Author:
- twall
-
-
Field Summary
Fields Modifier and Type Field Description static TypeMapper
ASCII
Standard TypeMapper to use the ASCII/MBCS version of a w32 API.static TypeMapper
DEFAULT
Default TypeMapper to use - depends on the value ofw32.ascii
system propertystatic TypeMapper
UNICODE
Standard TypeMapper to use the unicode version of a w32 API.
-
Constructor Summary
Constructors Modifier Constructor Description protected
W32APITypeMapper(boolean unicode)
-
Method Summary
-
Methods inherited from class com.sun.jna.DefaultTypeMapper
addFromNativeConverter, addToNativeConverter, addTypeConverter, getFromNativeConverter, getToNativeConverter
-
-
-
-
Field Detail
-
UNICODE
public static final TypeMapper UNICODE
Standard TypeMapper to use the unicode version of a w32 API.
-
ASCII
public static final TypeMapper ASCII
Standard TypeMapper to use the ASCII/MBCS version of a w32 API.
-
DEFAULT
public static final TypeMapper DEFAULT
Default TypeMapper to use - depends on the value ofw32.ascii
system property
-
-