This content has been marked as final. Show 3 replies
You can do this two ways.
First, you make use of the Java Native Interface. Write a native library for Windows that uses the .NET class, FileSystemWatcher.
This next one isn't the greatest approach. It's more a brute force way, but it still works. Write your own FileSystemListener class that gets a list of files, and checks the timestamp of it's last modification and compares the two.
Thanks for your reply.
Can you please provide some more details about JNI. I am unable to find any quick tutorials on this topic on the Web. Most of them refer to the book. I have never heard of this before, so if you can provide a link that quickly explains file system interfaces, that would be very helpful.