File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "Keep track of file name changes" Watch "Keep track of file name changes" New topic

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?
I agree. Here's the link:
subject: Keep track of file name changes
Similar Threads
File transfer using FTP
files are not delete
Lucene beginner question
nio and http request
ServerSocketChannel.accept() seems to create a random port to send data to?