public class ConfigSourceUtil extends Object
ConfigSource implementations| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIG_ORDINAL_100 |
static String |
CONFIG_ORDINAL_KEY |
| Modifier and Type | Method and Description |
|---|---|
static int |
getOrdinalFromMap(Map<String,String> map,
int defaultOrdinal)
Get the ordinal value configured within the given map.
|
static Map<String,String> |
propertiesToMap(Properties properties)
convert
Properties to Map |
static Map<String,String> |
urlToMap(URL locationOfProperties) |
public static final String CONFIG_ORDINAL_KEY
public static final String CONFIG_ORDINAL_100
public static Map<String,String> propertiesToMap(Properties properties)
Properties to Mapproperties - Properties objectMap objectpublic static Map<String,String> urlToMap(URL locationOfProperties) throws IOException
IOExceptionCopyright © 2018–2021. All rights reserved.