public class MapOptionsConfiguration extends Object
| Constructor and Description | 
|---|
| MapOptionsConfiguration(Map<String,String> content)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| Map<String,String> | getOptionMap()Returns the options map. | 
| Collection<Option> | getOptions(ConfigurationProvider configurationProvider)Returns the contained options. | 
| protected Collection<Option> | toOptions(Map<? extends Object,? extends Object> optionsMap)Creates options from a Map and returns them. | 
| String | toString() | 
public MapOptionsConfiguration(Map<String,String> content)
content - the options to set.NullPointerException - if content is null.public Map<String,String> getOptionMap()
public Collection<Option> getOptions(ConfigurationProvider configurationProvider) throws ConfigurationException
configurationProvider - the configuration provider to access
        configuration files, not null.ConfigurationException - if an error occurs while reading
         the options.protected Collection<Option> toOptions(Map<? extends Object,? extends Object> optionsMap)
optionsMap - the map containing the option qualified names as key
        and the option value as value. optionsMap and the keys therein
        must not be null.Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.