I'm trying to set up environment-specific properties in a file, customized for each device running the code. I'd like to be able to nest some properties in others, for example:
browser=chrome
baseUrl=${server}/app/login.do
server=http://localhost
I'd like to be able to get http://localhost/app/login.do
when I get the baseUrl
property.
Does java.util.Properties
support this behavior? If not, is there another core class that does?