public class HTML extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HTML.HtmlCharacterEntityReferences |
| Constructor and Description |
|---|
HTML() |
| Modifier and Type | Method and Description |
|---|---|
static String |
htmlEscape(String input)
Turn special characters into HTML character references.
|
public static String htmlEscape(String input)
Escapes all special characters to their corresponding
entity reference (e.g. <).
input - the (unescaped) input stringGuillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly