(Sean LeBlanc) wrote in message news:<. 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
http://www.jniwrapper.com/winpack_fe....jsp#filewatch
Good luck!
EToporov