Uses of Interface
Defines interfaces and classes for the Java virtual machine to access files, file attributes, and file systems.
Uses of WatchService in java.nio.fileModifier and TypeMethodDescription
()Constructs a new
WatchService(optional operation).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.Registers an object with a watch service.