File listener properties in Java?

I have a properties file. I want to use listeners. if some values ​​change in this file i want to update my integers. So what classes or tools do I need to use?

+2


source to share


2 answers


You can use JNotify to listen for filesystem events.



0


source


JNotify just checks the proprety file regularly. You can do the same with a timer. No code examples as no language is specified.



0


source







All Articles