public class URLDecoder extends Object
Constructor and Description |
---|
URLDecoder(String url)
You can pass in a full URL String or everything after and including the question mark,
e.g.
|
Modifier and Type | Method and Description |
---|---|
static String |
decodeURLString(String s)
Translates String from x-www-form-urlEncoded format into text.
|
String |
getContent() |
Enumeration |
getFieldNames() |
Enumeration |
getFields()
Use this method to get the name-value pairs in a CGI string.
|
String |
getFieldValue(String name)
Use this method to get the named values in a CGI string.
|
String |
getPath() |
String |
getRawValue() |
boolean |
hasField(String name) |
protected void |
setContent(String new_cache) |
void |
setPath(String new_value) |
void |
setRawValue(String new_value) |
String |
toString() |
public URLDecoder(String url)
public Enumeration getFields()
public Enumeration getFieldNames()
public String getFieldValue(String name)
public boolean hasField(String name)
public String getContent()
public String getPath()
public void setPath(String new_value)
public String getRawValue()
public void setRawValue(String new_value)
protected void setContent(String new_cache)
Copyright © 2016. All rights reserved.