java.lang.Object
com.lutris.http.URLDecoder
- public class URLDecoder
- extends java.lang.Object
This class contains a utility method for converting a String
from the MIME "x-www-form-urlencoded" into its original
format. This class implements the inverse functionality of
java.net.URLEncoder.
|
Method Summary |
static java.lang.String |
decode(java.lang.String s)
Decode a urlencoded string by replacing '+' with space ' ',
and "%xx" to the Latin1 character specified by the hex digits
"xx". |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URLDecoder
public URLDecoder()
decode
public static java.lang.String decode(java.lang.String s)
- Decode a urlencoded string by replacing '+' with space ' ',
and "%xx" to the Latin1 character specified by the hex digits
"xx". The input string is assumed to have been broken up into
either a key or a value pair, so '=', '?', and '&' are not
treated as separators. This method implements the inverse
functionality of
java.net.URLEncoder.encode.