public class URLEncoderWrapper
extends java.lang.Object
URLEncoder which always use UTF-8.| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
encode(java.lang.String string)
Encodes the given string with the
URLEncoder.encode(String) and UTF-8. |
public static java.lang.String encode(java.lang.String string)
throws java.io.UnsupportedEncodingException
URLEncoder.encode(String) and UTF-8.string - The value which should be encoded.java.io.UnsupportedEncodingException - If UTF-8 is not available.Copyright © 2011-2015. All Rights Reserved.