|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectname.pachler.nio.file.StandardWatchEventKind
public class StandardWatchEventKind
This class contains the standard watch event kinds, which are basically flags that indicate which events a WatchService should report when a Watchable is registered with a WatchService. The kinds are also used to indicate the kind of event on events that are reported back. Note that the event kinds defined in this class are supported on all platforms
Watchable.register(name.pachler.nio.file.WatchService, name.pachler.nio.file.WatchEvent.Kind>...)
,
WatchEvent.Kind
Field Summary | |
---|---|
static WatchEvent.Kind<Path> |
ENTRY_CREATE
Indicates that a file has been created under the watched path. |
static WatchEvent.Kind<Path> |
ENTRY_DELETE
Indicates that a file has been deleted under the watched path. |
static WatchEvent.Kind<Path> |
ENTRY_MODIFY
Indicates that a file under the watched path has been modified. |
static WatchEvent.Kind<java.lang.Void> |
OVERFLOW
Indicates queue overflow in the WatchService. |
Constructor Summary | |
---|---|
StandardWatchEventKind()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final WatchEvent.Kind<Path> ENTRY_CREATE
public static final WatchEvent.Kind<Path> ENTRY_DELETE
ExtendedWatchEventKind
public static final WatchEvent.Kind<Path> ENTRY_MODIFY
public static final WatchEvent.Kind<java.lang.Void> OVERFLOW
register()
or not.
Watchable.register(name.pachler.nio.file.WatchService, name.pachler.nio.file.WatchEvent.Kind>...)
Constructor Detail |
---|
public StandardWatchEventKind()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |