Package io.smallrye.config
Class ConfigValueConfigSource.ConfigValueProperties
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<String,ConfigValue>
-
- io.smallrye.config.ConfigValueConfigSource.ConfigValueProperties
-
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,ConfigValue>
- Enclosing interface:
- ConfigValueConfigSource
public static final class ConfigValueConfigSource.ConfigValueProperties extends HashMap<String,ConfigValue>
Loads properties asConfigValue.This class is mostly a subset copy of
Properties. This was required to be able to keep track of the line number from which the configuration was loaded.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Constructor Description ConfigValueProperties(String configSourceName, int configSourceOrdinal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidload(InputStream inStream)voidload(Reader reader)-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
ConfigValueProperties
public ConfigValueProperties(String configSourceName, int configSourceOrdinal)
-
-
Method Detail
-
load
public void load(Reader reader) throws IOException
- Throws:
IOException
-
load
public void load(InputStream inStream) throws IOException
- Throws:
IOException
-
-