|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mmbase.util.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.
| Constructor Summary | |
URLParamEscape()
|
|
| Method Summary | |
static java.lang.String |
escapeurl(java.lang.String str)
Escape a url. |
static void |
main(java.lang.String[] args)
Method for testing this class from the command line |
static java.lang.String |
unescapeurl(java.lang.String str)
Unescape a url. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public URLParamEscape()
| Method Detail |
public static java.lang.String escapeurl(java.lang.String str)
public static java.lang.String unescapeurl(java.lang.String str)
public static void main(java.lang.String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||