public class ParameterParser
extends java.lang.Object
param1 = value; param2 = "anything goes; really"; param3
Constructor | Description |
---|---|
ParameterParser() |
Default ParameterParser constructor
|
Modifier and Type | Method | Description |
---|---|---|
java.util.List |
parse(char[] chars,
char separator) |
Extracts a list of
NameValuePair s from the given array of
characters. |
java.util.List |
parse(char[] chars,
int offset,
int length,
char separator) |
Extracts a list of
NameValuePair s from the given array of
characters. |
java.util.List |
parse(java.lang.String str,
char separator) |
Extracts a list of
NameValuePair s from the given string. |
public java.util.List parse(java.lang.String str, char separator)
NameValuePair
s from the given string.str
- the string that contains a sequence of name/value pairsNameValuePair
spublic java.util.List parse(char[] chars, char separator)
NameValuePair
s from the given array of
characters.chars
- the array of characters that contains a sequence of
name/value pairsNameValuePair
spublic java.util.List parse(char[] chars, int offset, int length, char separator)
NameValuePair
s 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.NameValuePair
sCopyright (c) 1999-2005 - Apache Software Foundation