public class StringEscapeUtils extends Object implements HtmlEscapeHandler
| Modifier and Type | Method and Description |
|---|---|
void |
escapeEcmascript(Writer out,
String text) |
void |
escapeHtml(Writer out,
String text) |
static void |
escapeISOCharacters(Writer out,
String input) |
void |
escapeXml(Writer out,
String text) |
static void |
init() |
public static void init()
public void escapeHtml(Writer out, String text) throws IOException
escapeHtml in interface HtmlEscapeHandlerIOExceptionpublic void escapeXml(Writer out, String text) throws IOException
IOExceptionpublic void escapeEcmascript(Writer out, String text) throws IOException
IOExceptionpublic static void escapeISOCharacters(Writer out, String input) throws IOException
IOExceptionCopyright © 2010–2018. All rights reserved.