public class URLDecoderUtil extends Object
Constructor and Description |
---|
URLDecoderUtil() |
public static String decode(String sequence, String charset)
x-www-form-urlencoded
string.sequence
- the String to decodecharset
- The name of a supported character encoding.String
IllegalArgumentException
- If the encoding is not validpublic static String decode(String sequence, String charset, boolean isQueryString)
x-www-form-urlencoded
string.sequence
- the String to decodecharset
- The name of a supported character encoding.isQueryString
- whether input is a query string. If true
other decoding rules apply.String
IllegalArgumentException
- If the encoding is not validCopyright © 2000–2017 Apache Software Foundation. All rights reserved.