Package org.primefaces.extensions.util
Class URLEncoderWrapper
java.lang.Object
org.primefaces.extensions.util.URLEncoderWrapper
Wrapper for the
URLEncoder
which always use UTF-8.- Since:
- 0.6.2
- Version:
- $Revision: $
- Author:
- Thomas Andraschko / last modified by $Author: $
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
Encodes the given string with theURLEncoder.encode(String, String)
and UTF-8.
-
Method Details
-
encode
Encodes the given string with theURLEncoder.encode(String, String)
and UTF-8.- Parameters:
string
- The value which should be encoded.- Returns:
- The encoded value.
- Throws:
UnsupportedEncodingException
- If UTF-8 is not available.
-