| Package | Description |
|---|---|
| com.barbarysoftware.watchservice |
| Modifier and Type | Field and Description |
|---|---|
static WatchEvent.Kind<WatchableFile> |
StandardWatchEventKind.ENTRY_CREATE
Directory entry created.
|
static WatchEvent.Kind<WatchableFile> |
StandardWatchEventKind.ENTRY_DELETE
Directory entry deleted.
|
static WatchEvent.Kind<WatchableFile> |
StandardWatchEventKind.ENTRY_MODIFY
Directory entry modified.
|
static WatchEvent.Kind<Void> |
StandardWatchEventKind.OVERFLOW
A special event to indicate that events may have been lost or
discarded.
|
| Modifier and Type | Method and Description |
|---|---|
abstract WatchEvent.Kind<T> |
WatchEvent.kind()
Returns the event kind.
|
| Modifier and Type | Method and Description |
|---|---|
WatchKey |
WatchableFile.register(WatchService watcher,
WatchEvent.Kind<?>... events) |
WatchKey |
Watchable.register(WatchService watcher,
WatchEvent.Kind<?>... events)
Registers an object with a watch service.
|
WatchKey |
WatchableFile.register(WatchService watcher,
WatchEvent.Kind<?>[] events,
WatchEvent.Modifier... modifiers) |
WatchKey |
Watchable.register(WatchService watcher,
WatchEvent.Kind<?>[] events,
WatchEvent.Modifier... modifiers)
Registers an object with a watch service.
|
Copyright © 2015. All rights reserved.