Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Re: Watching a directory for changes(in Win32)

Thread Tools

Re: Watching a directory for changes(in Win32)

Eugene Toporov
Posts: n/a
      07-09-2003 Removed) (Sean LeBlanc) wrote in message news:<(E-Mail Removed). com>...
> Is there any way to get callback-style functionality on a directory in
> pure Java? I'd prefer that, but if JNI is the only way, can someone
> point me to any references on that? I'd like to watch a directory for
> any new/changed files and be notified, rather than constant polling.

I guess this is what you needed.

WinPack for JNIWrapper
File System Watcher: functionality that allows listening to file system events

Good luck!
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
System.IO.Directory.GetDirectories() and System.IO.Directory.GetFiles() are not returning the specified directory Nathan Sokalski ASP .Net 2 09-06-2007 03:58 PM
Non-blocking directory watching Perl Misc 3 03-12-2007 04:15 PM
Watching movies over wifi Rich Wireless Networking 0 09-20-2004 01:10 AM
Re: Watching cable t.v. remotely andre Wireless Networking 2 09-17-2004 10:15 PM
Watching treads? William W. Plummer Firefox 9 08-07-2004 05:47 PM