|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.commons.utils.TableCharEncoder
public class TableCharEncoder
A char encoder that use a table to cache the result produced by a delegate char encoder. This encoder is stateless and should only be composed with stateless char encoder otherwise an unexpected result may happen.
| Constructor Summary | |
|---|---|
TableCharEncoder(CharEncoder charEncoder)
Creates a new table based char encoder. |
|
| Method Summary | |
|---|---|
byte[] |
encode(char c)
Encodes a single char into an array of bytes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TableCharEncoder(CharEncoder charEncoder)
charEncoder - the delegate char encoder| Method Detail |
|---|
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 | |||||||||