public class URLDecoder
extends java.lang.Object
| Constructor and Description |
|---|
URLDecoder() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
decode(java.lang.String url)
Decodes an URL.
|
static java.lang.String |
decodeISO8859_1(java.lang.String url)
Decodes an ISO8859-1 encoded URL.
|
static java.lang.String |
decodeUTF8(java.lang.String url)
Decodes an UTF-8 encoded URL.
|
public static java.lang.String decode(java.lang.String url)
throws java.io.IOException
url - The URL to be decoded.java.io.IOException - If an error occurs on decoding the URL.public static java.lang.String decodeUTF8(java.lang.String url)
throws java.io.IOException
url - The URL to be decoded.java.io.IOException - If the URL to be decoded is not a valid UTF-8
encoded URL.public static java.lang.String decodeISO8859_1(java.lang.String url)
throws java.io.IOException
url - The URL to be decoded.java.io.IOException - If the URL to be decoded is not a valid ISO8859-1
encoded URL.