I made a maven library jar which detect date formats based on configured formats mapping. Currently I hard-coded the formats mapping but I want to isolate the formats mapping into a .properties files as below:
- Internal .properties file (has some default formats mapping).
- External .properties file (dateformats.properties, a file that client may add it to his application CLASSPATH to extend the default formats mapping provided by the library).
Reading the internal .properties file from library CLASSPATH is easy by but how to let the library read the external .properties file from client CLASSPATH?