public class Escape
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
_allowableInUrl |
protected static java.lang.String |
_allowableInUrlQuery |
static java.nio.charset.Charset |
utf8Charset |
Constructor and Description |
---|
Escape() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
backslashDecode(java.lang.String s)
Define the DEFINITIVE URL BACKSLASH unescape function.
|
static java.lang.String |
backslashEncode(java.lang.String s)
Define the DEFINITIVE URL BACKSLASH escape function.
|
static java.lang.String |
escapeURL(java.lang.String surl) |
static java.lang.String |
escapeURLQuery(java.lang.String ce)
Define the DEFINITIVE URL constraint expression escape function.
|
static java.lang.String |
unescapeURLQuery(java.lang.String ce)
Define the DEFINITIVE URL constraint expression unescape function.
|
static java.lang.String |
urlDecode(java.lang.String s)
Define the DEFINITIVE URL unescape function.
|
static java.lang.String |
urlEncode(java.lang.String s)
Define the DEFINITIVE URL escape function.
|
public static final java.nio.charset.Charset utf8Charset
protected static final java.lang.String _allowableInUrl
protected static final java.lang.String _allowableInUrlQuery
public static java.lang.String escapeURL(java.lang.String surl)
public static java.lang.String escapeURLQuery(java.lang.String ce)
ce
- The expression to modify.public static java.lang.String unescapeURLQuery(java.lang.String ce)
ce
- The expression to unescape.public static java.lang.String urlEncode(java.lang.String s)
s
- The string to modify.public static java.lang.String urlDecode(java.lang.String s)
s
- The string to unescape.public static java.lang.String backslashDecode(java.lang.String s)
s
- The string to unescape.public static java.lang.String backslashEncode(java.lang.String s)
s
- The string to escape.