public class PropertiesOptionConfiguration extends FileOptionsConfiguration
| Constructor and Description | 
|---|
| PropertiesOptionConfiguration() | 
| Modifier and Type | Method and Description | 
|---|---|
| Collection<Option> | getOptions(ConfigurationProvider configurationProvider)Reads the options from the property file given in the path and
 returns them. | 
| protected Collection<Option> | toOptions(Map<? extends Object,? extends Object> optionsMap)Creates options from a Map and returns them. | 
getPath, toStringpublic Collection<Option> getOptions(ConfigurationProvider configurationProvider) throws ConfigurationException
configurationProvider - the provider to access configuration files,
        not null.ConfigurationException - if the file cannot be accessed or parsed.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.