public class HTML
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
HTML.HtmlCharacterEntityReferences |
Constructor and Description |
---|
HTML() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
htmlEscape(java.lang.String input)
Turn special characters into HTML character references.
|
public static java.lang.String htmlEscape(java.lang.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