public interface Parameters
Modifier and Type | Method and Description |
---|---|
String |
getParameter(String name)
Returns the value of the named parameter, or null if it is not set.
|
Iterator |
getParameterNames()
Returns an Iterator over the names (Strings) of all parameters present
in this ParametersHeader.
|
void |
removeParameter(String name)
Removes the specified parameter from Parameters of this ParametersHeader.
|
void |
setParameter(String name,
String value)
Sets the value of the specified parameter.
|
String getParameter(String name)
name
- name of parameter to retrievevoid setParameter(String name, String value) throws ParseException
name
- - a String specifying the parameter namevalue
- - a String specifying the parameter valueParseException
- which signals that an error has been reached
unexpectedly while parsing the parameter name or value.Iterator getParameterNames()
void removeParameter(String name)
name
- - a String specifying the parameter nameCopyright © 2018. All Rights Reserved.