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:
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?
Number of options are available to you:
Each method has its pluses and minuses and it depends upon your needs...
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.