public class DetectFileModifiedAction extends Object implements Callable<File>
The task checks for changes in either the last modified timestamp (precise up to the second) or the file size to detect a change.
The task cannot currently be stopped, and its time between checks is hardcoded (50 msec).
| Constructor and Description |
|---|
DetectFileModifiedAction(String path) |
public DetectFileModifiedAction(String path)
public File call() throws FileNotFoundException
call in interface Callable<File>FileNotFoundExceptionCopyright © 2004-2015. All Rights Reserved.