Thanks for the reply. The example I used was somewhat silly (perhaps something with files and paths would be better) though. I've used java.util.Properties, but I wouldn't mind being able to do something like the example above in the property files. If it isn't possible, I guess I can live with that. Or, at least, adapt.