Package com.sun.jna
Klasse StringArray
java.lang.Object
com.sun.jna.Pointer
com.sun.jna.Memory
com.sun.jna.StringArray
- Alle implementierten Schnittstellen:
Function.PostCallRead
,Closeable
,AutoCloseable
Handle native array of
char*
or wchar_t*
type
by managing allocation/disposal of native strings within an array of
pointers. An extra NULL pointer is always added to the end of the native
pointer array for convenience.-
Feldübersicht
-
Konstruktorübersicht
KonstruktorBeschreibungStringArray
(WString[] strings) Create a native array of wide strings.StringArray
(String[] strings) Create a native array of strings.StringArray
(String[] strings, boolean wide) Create a native array of strings.StringArray
(String[] strings, String encoding) Create a native array of strings using the given encoding. -
Methodenübersicht
Von Klasse geerbte Methoden com.sun.jna.Memory
align, boundsCheck, clear, close, dispose, disposeAll, dump, free, getByte, getByteBuffer, getChar, getDouble, getFloat, getInt, getLong, getPointer, getShort, getString, getWideString, malloc, purge, read, read, read, read, read, read, read, read, setByte, setChar, setDouble, setFloat, setInt, setLong, setPointer, setShort, setString, setWideString, share, share, size, valid, write, write, write, write, write, write, write, write
Von Klasse geerbte Methoden com.sun.jna.Pointer
clear, createConstant, createConstant, dump, equals, getByteArray, getCharArray, getDoubleArray, getFloatArray, getIntArray, getLongArray, getNativeLong, getPointerArray, getPointerArray, getShortArray, getString, getStringArray, getStringArray, getStringArray, getStringArray, getValue, getWideStringArray, getWideStringArray, hashCode, indexOf, nativeValue, nativeValue, setMemory, setNativeLong, setString, setString, setValue
-
Konstruktordetails
-
StringArray
Create a native array of strings. -
StringArray
Create a native array of strings. -
StringArray
Create a native array of strings using the given encoding. -
StringArray
Create a native array of wide strings.
-
-
Methodendetails
-
read
public void read()Read back from native memory.- Angegeben von:
read
in SchnittstelleFunction.PostCallRead
-
toString
-