I have a properties file which contains the following fields:
What i need to accomplish is that if one of the tags in square brackets, such as [Tag1], the value in the will be replaced with the value specified after the equal sign. If the value was not specified, then no modification to the copied collection title will be performed. Number of tags specified in properties can change so i need to make this dynamic. Basically, the properties file is dynamic and number of tags specified along with their values can change. How can i accomplish this task in Java?