| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Charset provides character set encoding and decoding for JavaScript.
| Field Summary | |
<static> Charset
|
UTF8
The UTF8 character set encoder and decoder. |
| Constructor Summary | |
Charset()
Charset is an abstract super class for all character set encoders and decoders. |
|
| Method Summary | |
String
|
decode(buf)
Decodes a ByteBuffer into a String. |
void
|
encode(text, buf)
Encodes a String into a ByteBuffer. |
| Field Detail |
<static> Charset UTF8
| Constructor Detail |
Charset()
| Method Detail |
String decode(buf)
ByteBuffer buf - the ByteBuffer to decode
String the decoded String
void encode(text, buf)
String text - the String to encode
ByteBuffer buf - the target ByteBuffer
void