public abstract class ResolverImp extends java.lang.Object implements Resolver
Resolver
.Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
log |
Constructor and Description |
---|
ResolverImp() |
Modifier and Type | Method and Description |
---|---|
protected static java.util.Map<java.lang.String,java.lang.String> |
asMap(java.util.Properties p)
Convenience method to turn a Properties into a Map
|
protected static java.lang.String |
resolve(java.lang.String key,
java.util.Map<java.lang.String,java.lang.String> map)
Resolve a key against a map.
|
protected static java.lang.String resolve(java.lang.String key, java.util.Map<java.lang.String,java.lang.String> map)
key
- the keymap
- the map of properties / environmentkey
if not found in the map.protected static java.util.Map<java.lang.String,java.lang.String> asMap(java.util.Properties p)
p
- the properties, if null, will return an empty map