This content has been marked as final. Show 3 replies
There is no FileListener in Java 1.6.
There is no file listener, but you can simply have a thread that check for a file's existence with a reasonable time delay.
Just write a thread and check for File.exists() and file.canRead() methods.
If upgrading to java7 is an option, have a look at java.nio.file.Watchable.