public class WatchDirectory
extends java.lang.Object
implements java.lang.Runnable
| Modifier and Type | Class and Description |
|---|---|
static class |
WatchDirectory.WatchMethod |
| Modifier and Type | Field and Description |
|---|---|
static WatchDirectory.WatchMethod |
EMPTY |
| Constructor and Description |
|---|
WatchDirectory(java.nio.file.Path path,
WatchDirectory.WatchMethod method,
java.nio.file.WatchEvent.Kind... eventsKind) |
| Modifier and Type | Method and Description |
|---|---|
java.nio.file.Path |
getWatchedDir() |
void |
run() |
void |
stop() |
public static final WatchDirectory.WatchMethod EMPTY
public WatchDirectory(java.nio.file.Path path,
WatchDirectory.WatchMethod method,
java.nio.file.WatchEvent.Kind... eventsKind)