Template in .properties

Is there any method in witch that I can add a wildcard to the properties file and have the meaning of everything, for example a.b.*.c.d=lalalala, or set a regular expression for everyone that ends with a.b.c=anything?

+3
source share
1 answer

A regular Java properties file cannot handle this, no. Keep in mind that this hash table is valid, usually displaying rows for rows.

It sounds like you probably want to create your own class for this, but maybe you could use an object Propertiesas an easy way to insert data?

+3
source

All Articles