public class Escape extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
_allowableInUrl |
protected static String |
_allowableInUrlQuery |
static Charset |
utf8Charset |
Constructor and Description |
---|
Escape() |
Modifier and Type | Method and Description |
---|---|
static String |
escapeURL(String surl) |
static String |
escapeURLQuery(String ce)
Define the DEFINITIVE URL constraint expression escape function.
|
static String |
unescapeURLQuery(String ce)
Define the DEFINITIVE URL constraint expression unescape function.
|
static String |
urlDecode(String s)
Define the DEFINITIVE URL unescape function.
|
static String |
urlEncode(String s)
Define the DEFINITIVE URL escape function.
|
public static final Charset utf8Charset
protected static final String _allowableInUrl
protected static final String _allowableInUrlQuery
public static String escapeURLQuery(String ce)
ce
- The expression to modify.public static String unescapeURLQuery(String ce)
ce
- The expression to unescape.public static String urlEncode(String s)
s
- The string to modify.Copyright © 1999–2019 UCAR/Unidata. All rights reserved.