|
Build 1.1_r1 (from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.net.URLDecoder
public class URLDecoder
This class is used to decode a string which is encoded in the application/x-www-form-urlencoded MIME content type.
| Constructor Summary | |
|---|---|
URLDecoder()
|
|
| Method Summary | |
|---|---|
static String |
decode(String s)
Deprecated. use decode(String, String) instead. |
static String |
decode(String s,
String enc)
Decodes the argument which is assumed to be encoded in the x-www-form-urlencoded MIME content type using the specified encoding
scheme. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public URLDecoder()
| Method Detail |
|---|
@Deprecated public static String decode(String s)
decode(String, String) instead.
x-www-form-urlencoded MIME content type.
'+' will be converted to space, '%' and two following hex digit characters are converted to the equivalent byte value. All other characters are passed through unmodified. For example "A+B+C %24%25" -> "A B C $%".
s - the encoded string.
public static String decode(String s,
String enc)
throws UnsupportedEncodingException
x-www-form-urlencoded MIME content type using the specified encoding
scheme.
'+' will be converted to space, '%' and two following hex digit characters are converted to the equivalent byte value. All other characters are passed through unmodified. For example "A+B+C %24%25" -> "A B C $%".
s - the encoded string.enc - the encoding scheme to be used.
UnsupportedEncodingException - if the specified encoding scheme is invalid.
|
Build 1.1_r1 (from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||