Ideally, you would like to avoid polling and have instant notification of changes. To do this would require OS-specific JNI (Java Native Interface) code to hook into the native file system. This would also require high privilege.
|
|
You can get the freshest copy of this page from: | or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror) |
| http://mindprod.com/jgloss/filemonitor.html | J:\mindprod\jgloss\filemonitor.html | |
![]() | ||
| Canadian Mind Products | ||
| mindprod.com IP:[65.110.21.43] | ||
| view Blog | Your face IP:[38.107.179.212] | |
| Feedback | You are visitor number 20,939. | |