Package org.actioncontroller.config
Class FileSystemWatcher
- java.lang.Object
-
- org.actioncontroller.config.FileSystemWatcher
-
public class FileSystemWatcher extends Object
-
-
Constructor Summary
Constructors Constructor Description FileSystemWatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidstart()voidstop()voidwatch(String key, Path directory, Predicate<Path> pathPredicate, org.actioncontroller.config.FileSystemWatcher.FileSystemObserver observer)
-
-
-
Constructor Detail
-
FileSystemWatcher
public FileSystemWatcher() throws IOException- Throws:
IOException
-
-
Method Detail
-
start
public void start()
-
watch
public void watch(String key, Path directory, Predicate<Path> pathPredicate, org.actioncontroller.config.FileSystemWatcher.FileSystemObserver observer)
-
stop
public void stop()
-
-