|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mmbase.util.URLParamEscape
public class URLParamEscape
Escapes and Unescapes undesirable characters using % (URLEncoding) but keeps param makers alive (needs to be checked if used and if it can't be combined in URLEscape). The only difference with URLEscape is that the plus-sign ('+') is escaped.
| Field Summary | |
|---|---|
(package private) static char[] |
hex
Deprecated. Hex characters |
(package private) static char |
HEX_ESCAPE
Deprecated. Character to use for escaping invalid characters |
(package private) static boolean[] |
isacceptable
Deprecated. List for all ASCII characters whether it can be part of an URL line. |
| Constructor Summary | |
|---|---|
URLParamEscape()
Deprecated. |
|
| Method Summary | |
|---|---|
static String |
escapeurl(String str)
Deprecated. Escape a url. |
static void |
main(String[] args)
Deprecated. Method for testing this class from the command line |
static String |
unescapeurl(String str)
Deprecated. Unescape a url. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static boolean[] isacceptable
static char[] hex
static char HEX_ESCAPE
| Constructor Detail |
|---|
public URLParamEscape()
| Method Detail |
|---|
public static String escapeurl(String str)
str - the urls to escape
public static String unescapeurl(String str)
str - the urls to unescape
public static void main(String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||