public class EnvVarResolverProperties extends Properties
Properties.getProperty(String)
to allow ${ENV_VAR_NAME}-style environment
variable inclusionsdefaults
Constructor and Description |
---|
EnvVarResolverProperties() |
Modifier and Type | Method and Description |
---|---|
String |
getProperty(String key) |
protected static String |
resolveEnvVars(String input) |
getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, toString, values
protected static String resolveEnvVars(String input)
input
- The input string with ${ENV_VAR_NAME}-style environment variable namespublic String getProperty(String key)
getProperty
in class Properties
key
- the property keyCopyright © 2009–2019 Apache Software Foundation. All rights reserved.