File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Keep track of file name changes
 
Similar Threads
nio and http request
Lucene beginner question
files are not delete
File transfer using FTP
ServerSocketChannel.accept() seems to create a random port to send data to?