utils
Class URLEncoder

java.lang.Object
  extended by utils.URLEncoder

public class URLEncoder
extends java.lang.Object


Constructor Summary
URLEncoder()
           
 
Method Summary
static java.lang.String encode(java.lang.String s)
          Encode a string to the "x-www-form-urlencoded" form, enhanced with the UTF-8-in-URL proposal.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLEncoder

public URLEncoder()
Method Detail

encode

public static java.lang.String encode(java.lang.String s)
Encode a string to the "x-www-form-urlencoded" form, enhanced with the UTF-8-in-URL proposal. This is what happens:

Parameters:
s - The string to be encoded
Returns:
The encoded string