|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.lowagie.text.html.HtmlEncoder
This class converts a String to the HTML-format of a String.
To convert the String, each character is examined:
Example:
String htmlPresentation = HtmlEncoder.encode("Marie-Thérèse Sørensen");
for more info: see O'Reilly; "HTML: The Definitive Guide" (page 164)
| Method Summary | |
static java.lang.String |
encode(java.awt.Color color)
Converts a Color into a HTML representation of this Color. |
static java.lang.String |
encode(java.lang.String string)
Converts a String to the HTML-format of this String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static java.lang.String encode(java.lang.String string)
String to the HTML-format of this String.
string - The String to convert
Stringpublic static java.lang.String encode(java.awt.Color color)
Color into a HTML representation of this Color.
color - the Color that has to be converted.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||