|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ning.http.util.UTF8Codec
public class UTF8Codec
Wrapper class for more convenient (and possibly more efficient in future) UTF-8 encoding and decoding.
| Constructor Summary | |
|---|---|
UTF8Codec()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
fromUTF8(byte[] input)
|
static java.lang.String |
fromUTF8(byte[] input,
int offset,
int len)
|
static byte[] |
toUTF8(java.lang.String input)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UTF8Codec()
| Method Detail |
|---|
public static byte[] toUTF8(java.lang.String input)
public static java.lang.String fromUTF8(byte[] input)
public static java.lang.String fromUTF8(byte[] input,
int offset,
int len)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||