I have the following properties file named work.properties:
country=uk
city=${country}/london


I would like to use those properties in a bean as properties and not
as a configuration. I used the following method to load them:

MyBean  b = new MyBean();
Properties workProps = ConfigurationConverter
                               .getProperties(new
PropertiesConfiguration("work.properties"))
b.setWorkProperties(workProps)

I am expecting that workProps looks like this:
country=uk
city=uk/london

but apparently the substitution of interpolated properties takes place
only if one calls a method in Configuration (i.e. getString(key)).

Is there a way to achieve this?

Thanks!

Aziz

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to