public abstract class OptionSupport extends Object implements Serializable
Constructor and Description |
---|
OptionSupport() |
Modifier and Type | Method and Description |
---|---|
void |
clearOptions()
Clears all options.
|
String |
getOption(String key)
Returns the value of an option.
|
Map<String,String> |
getOptions()
Returns an unmodifiable map of all options.
|
void |
setOption(String key,
String value)
Sets an option.
|
public Map<String,String> getOptions()
public void setOption(String key, String value)
key
- the key of the optionvalue
- the value of the option.public String getOption(String key)
key
- the key of the option.public void clearOptions()
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.