org.apache.commons.httpclient.util
public class ParameterParser extends java.lang.Object
param1 = value; param2 = "anything goes; really"; param3
| Constructor and Description |
|---|
ParameterParser()
Default ParameterParser constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List |
parse(char[] chars,
char separator)
Extracts a list of
NameValuePairs from the given array of
characters. |
java.util.List |
parse(char[] chars,
int offset,
int length,
char separator)
Extracts a list of
NameValuePairs from the given array of
characters. |
java.util.List |
parse(java.lang.String str,
char separator)
Extracts a list of
NameValuePairs from the given string. |
public java.util.List parse(java.lang.String str,
char separator)
NameValuePairs from the given string.str - the string that contains a sequence of name/value pairsNameValuePairspublic java.util.List parse(char[] chars,
char separator)
NameValuePairs from the given array of
characters.chars - the array of characters that contains a sequence of
name/value pairsNameValuePairspublic java.util.List parse(char[] chars,
int offset,
int length,
char separator)
NameValuePairs from the given array of
characters.chars - the array of characters that contains a sequence of
name/value pairsoffset - - the initial offset.length - - the length.NameValuePairs