public class ParameterParser extends Object
param1 = value; param2 = "anything goes; really"; param3
| Constructor and Description |
|---|
ParameterParser()
Default ParameterParser constructor
|
| Modifier and Type | Method and Description |
|---|---|
List |
parse(char[] chars,
char separator)
Extracts a list of
NameValuePairs from the given array of
characters. |
List |
parse(char[] chars,
int offset,
int length,
char separator)
Extracts a list of
NameValuePairs from the given array of
characters. |
List |
parse(String str,
char separator)
Extracts a list of
NameValuePairs from the given string. |
public List parse(String str, char separator)
NameValuePairs from the given string.str - the string that contains a sequence of name/value pairsNameValuePairspublic 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 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.NameValuePairsCopyright © 2020 Internet2. All rights reserved.