|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.freeshell.zs.common.HtmlManipulator
public class HtmlManipulator
Perform HTML-related operations.
| Constructor Summary | |
|---|---|
HtmlManipulator()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
quoteHtml(java.lang.String s)
Quote a specified string as HTML, by replacing all special characters with their equivalent HTML entities. |
static java.lang.String |
replaceHtmlEntities(java.lang.String s)
Replace HTML entities in a given string with their Unicode character representations. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HtmlManipulator()
| Method Detail |
|---|
public static java.lang.String replaceHtmlEntities(java.lang.String s)
s - input string
public static java.lang.String quoteHtml(java.lang.String s)
s - input string
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||