public class RecursiveProperties extends Properties
Properties in order to check if the expected value
contains another property key like "${...}". It that case, the key
will be replaced by its value if possible.
Example :
myFirstName=Arnaud
myName=Thimel
org.nuiton.topia.userInfo.fullName=${fullName}
fullName=${myFirstName} ${myName}
namePhrase=My name is ${myName}.
instruction=Put your text like this : ${myText}
Dans ce cas,
defaults| Constructor and Description |
|---|
RecursiveProperties() |
RecursiveProperties(Properties defaults) |
| Modifier and Type | Method and Description |
|---|---|
String |
getProperty(String key) |
getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNamesclear, 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, valuespublic RecursiveProperties()
public RecursiveProperties(Properties defaults)
public String getProperty(String key)
getProperty in class PropertiesCopyright © 2004–2020 CodeLutin. All rights reserved.