MPD
0.20.18
|
Wrapper for a local "jstring" reference. More...
#include <String.hxx>
Public Member Functions | |
String (JNIEnv *env, jstring value) | |
String (JNIEnv *_env, const char *_value) | |
char * | CopyTo (JNIEnv *env, char *buffer, size_t max_size) |
Copy the value to the specified buffer. More... | |
![]() | |
LocalRef (JNIEnv *_env, jstring_value) | |
The local reference is obtained by the caller. More... | |
LocalRef (const LocalRef &other)=delete | |
~LocalRef () | |
LocalRef & | operator= (const LocalRef &other)=delete |
jstring | Get () const |
operator jstring () const | |
Static Public Member Functions | |
static char * | CopyTo (JNIEnv *env, jstring value, char *buffer, size_t max_size) |
Copy the value to the specified buffer. More... | |
Wrapper for a local "jstring" reference.
Definition at line 44 of file String.hxx.
|
inline |
Definition at line 46 of file String.hxx.
|
inline |
Definition at line 49 of file String.hxx.
|
static |
Copy the value to the specified buffer.
Truncates the value if it does not fit into the buffer.
|
inline |
Copy the value to the specified buffer.
Truncates the value if it does not fit into the buffer.
Definition at line 69 of file String.hxx.