org.zkoss.net
Class URLs

java.lang.Object
  extended by org.zkoss.net.URLs

public class URLs
extends Object

Utilities to handle URL.

Since:
3.6.3
Author:
tomyeh

Constructor Summary
URLs()
           
 
Method Summary
static String encode(String s)
          Deprecated. As of release 5.0.5, for simple ZK core. Translates a string into x-www-form-urlencoded format.

By default, java.net.URLEncoder.encode(s, "UTF-8") is used to translate the string. However, you can customize the translation by implementing the URLEncoder interface, and and specify the class in the library property called org.zkoss.net.URLEncoder.

 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLs

public URLs()
Method Detail

encode

public static String encode(String s)
Deprecated. As of release 5.0.5, for simple ZK core. Translates a string into x-www-form-urlencoded format.

By default, java.net.URLEncoder.encode(s, "UTF-8") is used to translate the string. However, you can customize the translation by implementing the URLEncoder interface, and and specify the class in the library property called org.zkoss.net.URLEncoder.



Copyright © 2011. All Rights Reserved.