| java.lang.Object org.xins.common.text.URLEncoding
URLEncoding | final public class URLEncoding (Code) | | URL encoding utility functions with Unicode support. This class supports
both encoding and decoding. All characters higher than 127 will be encoded
as %uxxxx where xxxx is the Unicode value of the character in hexadecimal.
version: $Revision: 1.32 $ $Date: 2007/09/18 08:45:07 $ author: Ernst de Haan author: Anthony Goubard since: XINS 1.0.0 |
Method Summary | |
public static String | decode(String s) Decodes the specified URL encoded character string. | public static String | encode(String s) URL encodes the specified character string as specified by W3C. |
encode | public static String encode(String s) throws IllegalArgumentException(Code) | | URL encodes the specified character string as specified by W3C.
http://www.w3.org/International/O-URL-code.html
Parameters: s - the string to URL encode, not null .URL encoded version of the specified character string, nevernull . throws: IllegalArgumentException - if s == null |
|
|