Package org.primefaces.extensions.util
Class URLEncoderWrapper
- java.lang.Object
-
- org.primefaces.extensions.util.URLEncoderWrapper
-
public class URLEncoderWrapper extends java.lang.ObjectWrapper for theURLEncoderwhich always use UTF-8.- Since:
- 0.6.2
- Version:
- $Revision: $
- Author:
- Thomas Andraschko / last modified by $Author: $
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.Stringencode(java.lang.String string)Encodes the given string with theURLEncoder.encode(String, String)and UTF-8.
-
-
-
Method Detail
-
encode
public static java.lang.String encode(java.lang.String string) throws java.io.UnsupportedEncodingExceptionEncodes the given string with theURLEncoder.encode(String, String)and UTF-8.- Parameters:
string- The value which should be encoded.- Returns:
- The encoded value.
- Throws:
java.io.UnsupportedEncodingException- If UTF-8 is not available.
-
-