public class EscapeUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static Map<String,String> |
HTML_ESC_MAP
Mapping table for HTML escape.
|
static Pattern |
HTML_RE
Regex pattern for HTML escape.
|
static Pattern |
URI_RE
Regex pattern for URI encode.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
encodeUri(String s)
URI encode.
|
static String |
escapeHtml(String s,
boolean newline)
HTML escape.
|
public static final Pattern HTML_RE
public static Pattern URI_RE
Copyright © 2016. All rights reserved.