public class NameValuePair extends Object
| Constructor and Description |
|---|
NameValuePair(String name,
String value)
Creates a new name value pair
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the name
|
String |
getValue()
Gets the value
|
static NameValuePair |
parse(String str)
Parses a line of the form:
{ws} name {ws} ["=" {ws} value {ws}];
|
static NameValuePair |
parse(String str,
char equal)
Parses a line of the form:
{ws} name {ws} ["
<equal>" {ws} value {ws}]; |
public String getName()
public String getValue()
public static NameValuePair parse(String str)
str - the string to parsepublic static NameValuePair parse(String str, char equal)
<equal>" {ws} value {ws}];str - the string to parseequal - the delimiter for the equal signCopyright © 2010 - 2020 Adobe. All Rights Reserved