encodeURIComponent is a JavaScript URI Encoding function.
See:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/jscript7/html/j
smthencodeuricomponent.asp
> encodeURIComponent is a JavaScript URI Encoding function.
>
> See:
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/jscript7/html/j
smthencodeuricomponent.asp
I'm not sure about the subtle differences between URI and URL.
But I think URLEncoder.encode(String) is roughly what you want.
<http://java.sun.com/j2se/1.4.2/docs/api/java/net/URLEncoder.html#encode(java.lan
g.String)>

Signature
"Thomas:Fritsch$ops:de".replace(':','.').replace('$','@')