|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.commons.utils.CharsetCharEncoder
public class CharsetCharEncoder
An implementation of a char encoder that is stateless and is based on a specified charset.
| Constructor Summary | |
|---|---|
CharsetCharEncoder(java.nio.charset.Charset charset)
|
|
| Method Summary | |
|---|---|
byte[] |
encode(char c)
Encodes a single char into an array of bytes. |
static CharEncoder |
getUTF8()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CharsetCharEncoder(java.nio.charset.Charset charset)
| Method Detail |
|---|
public static CharEncoder getUTF8()
public byte[] encode(char c)
CharEncoder
encode in interface CharEncoderc - the char to encode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||