Closed GoogleCodeExporter closed 9 years ago
You might want to way for java 7 for this. There is going to be a new filesystem
watcher api as part of nio2
Original comment by i30817@gmail.com
on 29 Nov 2009 at 7:17
Thanks a lot for this info, I didn't know it.
I've found this tutorial_
http://blogs.sun.com/thejavatutorials/entry/watching_a_directory_for_changes
Original comment by c.ce...@gmail.com
on 29 Nov 2009 at 10:28
Until Java 7 is released, we may use the naive approach described here:
http://www.rgagnon.com/javadetails/java-0490.html
Original comment by c.ce...@gmail.com
on 30 Nov 2009 at 11:58
Also the bookmarks should be updated (~/.gtk-bookmarks)
Original comment by c.ce...@gmail.com
on 7 Dec 2009 at 2:49
The following three paths should be listened for changes:
* /media
* ~/.gtk-bookmarks
* <current folder>
Original comment by c.ce...@gmail.com
on 7 Dec 2009 at 2:50
To see the implementation details look for all references of
"FileWatcher.theFileWatcher()".
Original comment by c.ce...@gmail.com
on 7 Dec 2009 at 8:35
Original issue reported on code.google.com by
c.ce...@gmail.com
on 29 Nov 2009 at 5:31