|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openbp.common.markup.HTMLEscapeHelper
public final class HTMLEscapeHelper
HTML-related utilities, i\.e\. to convert convert regular text to HTML text.
| Method Summary | |
|---|---|
static java.lang.String |
htmlescape(java.lang.String s)
Turns funky characters into HTML entity equivalents e.g. |
| 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 htmlescape(java.lang.String s)
e.g. "bread" & "butter" => "bread" & "butter". Supports nearly all HTML entities, including funky accents. See the source code for more detail. In addition, "\n" characters will be converted to HTML line breaks and "\t" to 4 non-breaking spaces.
s - String to escape
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||