Package name.pachler.nio.file
package name.pachler.nio.file
-
ClassDescriptionThis exception is thrown by a WatchService method if that service has been closed.Represents a file system.Provides static method to get the default FileSystem object.Indicates that a file system reference was given that references a file type that is not a directory, as the invoked method had expected.This class represents an abstract Path object that a WatchService can operate on.
Note that Path is a new way of representing file system paths in JDK7 and is included here to provide source level compatibility.Factory class for Path instances.This class contains the standard watch event kinds, which are basically flags that indicate which events a WatchService should report when a Watchable is registered with a WatchService.A watchable is an object that can be registered with aWatchService
to be monitored for changes via it'sregister
methods.WatchEvent<T>Instances of this class hold the information of a particular change to an element below the watched file system object (e.g.Instances of this class act as tags to identify different kinds of events (like file creation or deletion)A modifier can be specified toregister
to change the way changes to a watchable are reported.