org.zkoss.net
Class URLs

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

public class URLs
extends java.lang.Object

Utilities to handle URL.

Since:
3.6.3
Author:
tomyeh

Constructor Summary
URLs()
           
 
Method Summary
static java.lang.String encode(java.lang.String s)
          Translates a string into x-www-form-urlencoded format.
 
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 java.lang.String encode(java.lang.String s)
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 © 2005-2009 Potix Corporation. All Rights Reserved. SourceForge.net Logo