I have a question about configuration files.
Is it possible to create a file.properties
in java (example with Apache Commons Configuration) as:
name = tom
surname = donald
free string = my favourite color is + paramFromJavaCode
where paramFromJavaCode is dinamically set from Java code? I hope I was clear, thank you.
Assuming you're trying to create a .properties file programmatically you can do it this way. I added a section on how to add something to the marmot string. That's pretty basic Java string manipulation though!
Which will output