com.sun.jna

Class StringArray

public class StringArray extends Memory implements Function.PostCallRead

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.
Constructor Summary
StringArray(String[] strings)
Create a native array of strings.
StringArray(String[] strings, boolean wide)
Create a native array of wide strings.
StringArray(WString[] strings)
Create a native array of wide strings.
Method Summary
voidread()
Read back from native memory.

Constructor Detail

StringArray

public StringArray(String[] strings)
Create a native array of strings.

StringArray

public StringArray(String[] strings, boolean wide)
Create a native array of wide strings.

StringArray

public StringArray(WString[] strings)
Create a native array of wide strings.

Method Detail

read

public void read()
Read back from native memory.
Copyright © 2007-2009 Timothy Wall. All Rights Reserved.