public class UrlDecoder extends Object
URLDecoder,
RFC-2396| Modifier and Type | Field and Description |
|---|---|
static UrlDecoder |
PATH_INSTANCE
Encoder used to decode components of a path.
For example: http://org.acme/foo/thispart/orthispart?butnot=thispart |
static UrlDecoder |
QUERY_INSTANCE
Encoder used to decode name or value components of a query string.
For example: http://org.acme/notthis/northis/oreventhis?buthis=isokay&asis=thispart |
public static final UrlDecoder QUERY_INSTANCE
public static final UrlDecoder PATH_INSTANCE
public String decode(String s, Charset enc)
s - string to decodeenc - encoding to decode withURLDecoder.decode(String, String)public String decode(String s, String enc)
s - string to decodeenc - encoding to decode withURLDecoder.decode(String, String)Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.