Uses of Interface
Defines interfaces and classes for the Java virtual machine to access files, file attributes, and file systems.
Uses of WatchEvent.Kind in java.nio.fileModifier and TypeFieldDescriptionStandardWatchEventKinds.
ENTRY_CREATEDirectory entry created.StandardWatchEventKinds.
ENTRY_DELETEDirectory entry deleted.StandardWatchEventKinds.
ENTRY_MODIFYDirectory entry modified.StandardWatchEventKinds.
OVERFLOWA special event to indicate that events may have been lost or discarded.Modifier and TypeMethodDescription
default WatchKeyRegisters the file located by this path with a watch service.Registers the file located by this path with a watch service.Registers an object with a watch service.Watchable.
(WatchService watcher, WatchEvent.Kind<?> events, WatchEvent.Modifier... modifiers)Registers an object with a watch service.