|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use WatchService | |
---|---|
name.pachler.nio.file | The name.pachler.nio.file package provides source-compatible implementation of JDK7's WatchService API. |
name.pachler.nio.file.ext | Provides non-standard ExtendedWatchEventKind
class with extended watch event kinds and modifier tags that enable
non-standard features, like recursive watches and file rename tracking. |
Uses of WatchService in name.pachler.nio.file |
---|
Methods in name.pachler.nio.file that return WatchService | |
---|---|
abstract WatchService |
FileSystem.newWatchService()
Creates a new WatchService instance by selecting
an implementation that best fits the current platform. |
Methods in name.pachler.nio.file with parameters of type WatchService | |
---|---|
abstract WatchKey |
Path.register(WatchService watcher,
WatchEvent.Kind<?>... events)
|
WatchKey |
Watchable.register(WatchService watcher,
WatchEvent.Kind<?>... events)
Registers the file system path (a directory) with the given WatchService and provides a WatchKey as a handle for that registration. |
abstract WatchKey |
Path.register(WatchService watcher,
WatchEvent.Kind<?>[] events,
WatchEvent.Modifier... modifiers)
|
WatchKey |
Watchable.register(WatchService watcher,
WatchEvent.Kind<?>[] events,
WatchEvent.Modifier... modifiers)
Registers the file system path (a directory) with the given WatchService and provides a WatchKey as a handle for that registration. |
Uses of WatchService in name.pachler.nio.file.ext |
---|
Methods in name.pachler.nio.file.ext that return WatchService | |
---|---|
static WatchService |
Bootstrapper.newWatchService()
Creates a new WatchService. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |