public final class StandardWatchEventKinds extends Object
Modifier and Type | Field and Description |
---|---|
static WatchEvent.Kind<Path> |
ENTRY_CREATE
创建目录条目。
|
static WatchEvent.Kind<Path> |
ENTRY_DELETE
目录条目已删除。
|
static WatchEvent.Kind<Path> |
ENTRY_MODIFY
目录条目修改。
|
static WatchEvent.Kind<Object> |
OVERFLOW
一个特殊事件,表明事件可能已丢失或丢弃。
|
public static final WatchEvent.Kind<Object> OVERFLOW
WatchService
public static final WatchEvent.Kind<Path> ENTRY_CREATE
public static final WatchEvent.Kind<Path> ENTRY_DELETE
public static final WatchEvent.Kind<Path> ENTRY_MODIFY