public final class StandardWatchEventKinds extends Object
Modifier and Type | Field and Description |
---|---|
static WatchEvent.Kind<Path> |
ENTRY_CREATE
Directory entry created.
|
static WatchEvent.Kind<Path> |
ENTRY_DELETE
Directory entry deleted.
|
static WatchEvent.Kind<Path> |
ENTRY_MODIFY
Directory entry modified.
|
static WatchEvent.Kind<Object> |
OVERFLOW
A special event to indicate that events may have been lost or
discarded.
|
public static final WatchEvent.Kind<Object> OVERFLOW
The context
for this event is
implementation specific and may be null
. The event count
may be greater than 1
.
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, 2013, Oracle and/or its affiliates. All rights reserved.