public abstract class FileSystem
extends java.lang.Object
WatchService in a way that is source compatible with JDK7. An
alternative is to use
Bootstrapper.newWatchService().| Modifier and Type | Method and Description |
|---|---|
abstract WatchService |
newWatchService()
Creates a new
WatchService instance by selecting
an implementation that best fits the current platform.Note that a watch service consumes valuable system resources. |
public abstract WatchService newWatchService()
WatchService instance by selecting
an implementation that best fits the current platform.