| Constructor and Description |
|---|
FileWatcher(File target,
Runnable action) |
| Modifier and Type | Method and Description |
|---|---|
void |
run()
check if target file has been touched and invoke
the action if it has
|
void |
schedule(int delay,
TimeUnit timeunit) |
public FileWatcher(File target, Runnable action) throws FileNotFoundException
FileNotFoundExceptionCopyright © 2010–2016 UNICORE. All rights reserved.