Package io.smallrye.config.common.utils
Class ConfigSourceUtil
java.lang.Object
io.smallrye.config.common.utils.ConfigSourceUtil
utilities and constants for
ConfigSource implementations- Author:
- helloween
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic intgetOrdinalFromMap(Map<String, String> map, int defaultOrdinal) Get the ordinal value configured within the given map.propertiesToMap(Properties properties) convertPropertiestoMap
-
Field Details
-
CONFIG_ORDINAL_KEY
- See Also:
-
CONFIG_ORDINAL_100
- See Also:
-
-
Method Details
-
propertiesToMap
convertPropertiestoMap- Parameters:
properties-Propertiesobject- Returns:
Mapobject
-
urlToMap
- Throws:
IOException
-
getOrdinalFromMap
Get the ordinal value configured within the given map.- Parameters:
map- the map to querydefaultOrdinal- the ordinal to return if the ordinal key is not specified- Returns:
- the ordinal value to use
-