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.
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private List | |
| private Object[] |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | StringArray(String[] strings, String encoding)
Create a native array of strings using the given encoding. |
| public | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public String |
| encoding | back to summary |
|---|---|
| private String encoding | |
| natives | back to summary |
|---|---|
| private List<NativeString> natives | |
| original | back to summary |
|---|---|
| private Object[] original | |
| StringArray | back to summary |
|---|---|
| public StringArray(String[] strings) Create a native array of strings. | |
| StringArray | back to summary |
|---|---|
| public StringArray(String[] strings, boolean wide) Create a native array of strings. | |
| StringArray | back to summary |
|---|---|
| public StringArray(String[] strings, String encoding) Create a native array of strings using the given encoding. | |
| StringArray | back to summary |
|---|---|
| public StringArray(WString[] strings) Create a native array of wide strings. | |
| StringArray | back to summary |
|---|---|
| private StringArray(Object[] strings, String encoding) | |
| read | back to summary |
|---|---|
| public void read() Implements com. Read back from native memory.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides com. Doc from java. Returns a string representation of the object. | |