Author: athimel Date: 2011-11-30 10:00:26 +0100 (Wed, 30 Nov 2011) New Revision: 2243 Url: http://nuiton.org/repositories/revision/nuiton-utils/2243 Log: Improve Javadoc on RecursiveProperties Modified: trunk/nuiton-utils/src/main/java/org/nuiton/util/RecursiveProperties.java Modified: trunk/nuiton-utils/src/main/java/org/nuiton/util/RecursiveProperties.java =================================================================== --- trunk/nuiton-utils/src/main/java/org/nuiton/util/RecursiveProperties.java 2011-11-30 08:59:00 UTC (rev 2242) +++ trunk/nuiton-utils/src/main/java/org/nuiton/util/RecursiveProperties.java 2011-11-30 09:00:26 UTC (rev 2243) @@ -28,27 +28,28 @@ import java.util.Properties; /** - * Surcharge {@link Properties} de manière à aller chercher dans les - * properties la valeur de la propriété si celle ci est encadrée par "${...}". + * Overrides {@link 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. * <p/> - * Exemple : + * Example : * <pre> * myFirstName=Arnaud * myName=Thimel * org.nuiton.topia.userInfo.fullName=${fullName} * fullName=${myFirstName} ${myName} * namePhrase=My name is ${myName}. - * instruction=Placez votre texte comme ceci : ${monTexte} + * instruction=Put your text like this : ${myText} * </pre> * <p/> * Dans ce cas, * <ul> * <li>getProperty("org.nuiton.topia.userInfo.fullName") renverra "Arnaud Thimel" * <li>getProperty("namePhrase") renverra "My name is Thimel." - * <li>getProperty("instruction") renverra "Placez votre texte comme ceci : ${monTexte}" + * <li>getProperty("instruction") renverra "Put your text like this : ${myText}" * </ul> * - * @author thimel + * @author Arnaud Thimel <thimel@codelutin.com> */ public class RecursiveProperties extends Properties {