Next: Mixing with C++, Previous: Methods, Up: About CNI
CNI provides a number of utility functions for
working with Java Java String
objects.
The names and interfaces are analogous to those of JNI.
Returns a Java
String
object with characters from the C string chars up to the index len in that array.
Returns a Java
String
made up of len bytes from bytes.
As above but the length of the
String
isstrlen(
bytes)
.
Returns a
String
which is made up of the UTF encoded characters present in the C string bytes.
Returns a pointer to an array of characters making up the
String
str.