public final class Encode extends Object
| Constructor and Description |
|---|
Encode() |
public static void forHtml(Writer out, String input) throws IOException
IOExceptionpublic static void forHtmlContent(Writer out, String input) throws IOException
IOExceptionpublic static void forHtmlAttribute(Writer out, String input) throws IOException
IOExceptionpublic static void forHtmlUnquotedAttribute(Writer out, String input) throws IOException
IOExceptionpublic static void forCssString(Writer out, String input) throws IOException
IOExceptionpublic static void forCssUrl(Writer out, String input) throws IOException
IOException@Deprecated public static String forUri(String input)
@Deprecated public static void forUri(Writer out, String input) throws IOException
IOExceptionpublic static void forUriComponent(Writer out, String input) throws IOException
IOExceptionpublic static void forXml(Writer out, String input) throws IOException
IOExceptionpublic static void forXmlContent(Writer out, String input) throws IOException
IOExceptionpublic static void forXmlAttribute(Writer out, String input) throws IOException
IOExceptionpublic static void forXmlComment(Writer out, String input) throws IOException
IOExceptionpublic static void forCDATA(Writer out, String input) throws IOException
IOExceptionpublic static void forJava(Writer out, String input) throws IOException
IOExceptionpublic static void forJavaScript(Writer out, String input) throws IOException
IOExceptionpublic static void forJavaScriptAttribute(Writer out, String input) throws IOException
IOExceptionpublic static void forJavaScriptBlock(Writer out, String input) throws IOException
IOExceptionpublic static void forJavaScriptSource(Writer out, String input) throws IOException
IOExceptionCopyright © 2022. All rights reserved.