public class EscapeStringsDap extends Object
| Constructor and Description |
|---|
EscapeStringsDap() |
| Modifier and Type | Method and Description |
|---|---|
static String |
backslashEscapeDapString(String s)
Given a DAP (attribute) string, insert backslashes before '"' and '/' characters.
|
static String |
backslashToDAP(String bs)
Given a backslash escaped name, convert to a DAP escaped name
|
static String |
escapeDAPIdentifier(String s)
Define the DAP escape identifier function.
|
static String |
unescapeDAPIdentifier(String id)
Define the DEFINITIVE opendap identifier unescape function.
|
public static String backslashEscapeDapString(String s)
public static String backslashToDAP(String bs)
bs - the string to DAP encode; may have backslash escapespublic static String unescapeDAPIdentifier(String id)
id - The identifier to unescape.