Class RecursiveProperties

All Implemented Interfaces:
Serializable, Cloneable, Map<Object,Object>

public class RecursiveProperties extends Properties
Overrides 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,
  • getProperty("org.nuiton.topia.userInfo.fullName") renverra "Arnaud Thimel"
  • getProperty("namePhrase") renverra "My name is Thimel."
  • getProperty("instruction") renverra "Put your text like this : ${myText}"
Author:
Arnaud Thimel - thimel@codelutin.com
See Also:
  • Constructor Details

    • RecursiveProperties

      public RecursiveProperties()
    • RecursiveProperties

      public RecursiveProperties(Properties defaults)
  • Method Details