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
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.