public class ExternalStringArray
extends java.lang.Object
Constructor and Description |
---|
ExternalStringArray(Pointer.Void handle)
Creates an array of strings from the memory block pointed by the
handle . |
ExternalStringArray(Pointer.Void handle,
CharacterEncoding characterEncoding)
Creates an array of strings from the memory block pointed by the
handle . |
Modifier and Type | Method and Description |
---|---|
int |
countElements()
Gets the number of elements in the array.
|
java.lang.String |
getElement(int i)
Gets the string at the specified position in the array.
|
java.lang.String[] |
getStrings()
Gets the array of strings.
|
public ExternalStringArray(Pointer.Void handle)
handle
.public ExternalStringArray(Pointer.Void handle, CharacterEncoding characterEncoding)
handle
.handle
- is the pointer to the beginning of the memory block.public java.lang.String[] getStrings()
public java.lang.String getElement(int i)
i
- specifies the position of getting string in the array.public int countElements()