I am trying to build a fileSystemWatcher in java (similar to FileSystemWatcher in C#). Please suggest whether java has any built in framework capability for this or suggest/direct to any sample/open source projects.
Check out the Apache Commons JCI FAM (FileAlterationMonitor). The unit tests should give you an idea how to use it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With