@FunctionalInterface
public interface DirectoryChangeListener
| Modifier and Type | Method and Description |
|---|---|
default boolean |
isWatching()
The watcher will stop watching after this method returns false.
|
void |
onEvent(DirectoryChangeEvent event) |
default void |
onException(java.lang.Exception e)
A handler for uncaught exceptions.
|
void onEvent(DirectoryChangeEvent event) throws java.io.IOException
java.io.IOExceptiondefault boolean isWatching()
default void onException(java.lang.Exception e)