jQuery in Action, 2nd edition*
The moose likes I/O and Streams and the fly likes Keep track of file name changes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "Keep track of file name changes" Watch "Keep track of file name changes" New topic
Author

Keep track of file name changes

Marco Zanini
Ranch Hand

Joined: Oct 31, 2011
Posts: 43
Hi to all, my programs watches a directory for changes using features provided in Java 7. I am able to keep track of a Directory changing it's name but I'm not able to do it on a File.

This is the code:


Do you think I simply need to register every single file in addition to every directory?
 
GeeCON Prague 2014
 
subject: Keep track of file name changes