| Constructor and Description |
|---|
HtmlCodec()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
decode(String encoded) |
String |
encode(String toEncode) |
protected boolean |
shouldEncode(char c,
int index,
String stringToEncode)
Permet d'optimiser en déterminant si le caractère doit-être encodé
|
protected boolean shouldEncode(char c,
int index,
String stringToEncode)
c - Caractère à encoderindex - Index dans la chaine à encoderstringToEncode - Chaine à encoderCopyright © 2018. All Rights Reserved.