org.zkoss.net
Interface URLEncoder


Deprecated. As of release 5.0.5, for simple ZK core. A plugin to allow developer to customize the encoding of URL.

By default, java.net.URLEncoder.encode(s, "UTF-8") is used. If it is not what you want, you can customize it by implementing this interface and specify it in the library property called org.zkoss.net.URLEncoder.

public interface URLEncoder

Since:
3.6.3
Author:
tomyeh

Method Summary
 String encode(String s)
          Deprecated. Translates a string into x-www-form-urlencoded format.
 

Method Detail

encode

String encode(String s)
Deprecated. 
Translates a string into x-www-form-urlencoded format.

Notice that Note: The World Wide Web Consortium Recommendation states that UTF-8 should be used. Not doing so may introduce incompatibilites.

Parameters:
s - the string to be translated


Copyright © 2012. All Rights Reserved.