javatechblog.com
WatchService in Java with example program
WatchService in Java with example program Java 7 added a new feature to its NIO package called Watch Service API which allows applications to monitor a directory for changes. This allows, for examp…