# All Classes and Interfaces

Class
Description
Bootstrapper
The Bootstrapper is used to instantiate WatchService and Path instances.
BSD
BSD.kevent
struct kevent { uintptr_t ident; // identifier for this event short filter; // filter for event u_short flags; // action flags for kqueue u_int fflags; // filter flag value intptr_t data; // filter data value void *udata; // opaque user data identifier };
BSDPathWatchService
ClosedWatchServiceException
This exception is thrown by a WatchService method if that service has been closed.
ExtendedWatchEventKind
Provides non-standard watch event kinds that enable more specialized watch features.
ExtendedWatchEventModifier
This class holds non-standard modifiers that can be passed to Path.register().
FileSystem
Represents a file system.
FileSystems
Provides static method to get the default FileSystem object.
Linux
LinuxPathWatchKey
LinuxPathWatchService
This Linux implementation of the WatchService interface works without the use of threads or asynchronous I/O, using Linux' inotify file system event facitily.
NativeLibLoader
This class loads native libraries packaged in the JAR file that this class resides in.
NotDirectoryException
Indicates that a file system reference was given that references a file type that is not a directory, as the invoked method had expected.
Path
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.
PathImpl
This is a minimal implementation of JDK7's Path class, so all we offer here is what is required for WatchService and friends to work
Paths
Factory class for Path instances.
PathWatchEvent
PathWatchEventKind
PathWatchEventModifier
PathWatchKey
PathWatchService
PollingPathWatchService
Solaris
Solaris.file_obj
StandardWatchEventKind
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.
Unix
Unix.timespec
VoidWatchEvent
VoidWatchEventKind
Watchable
A watchable is an object that can be registered with a `WatchService` to be monitored for changes via it's `register` 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.
WatchEvent.Kind<T>
Instances of this class act as tags to identify different kinds of events (like file creation or deletion)
WatchEvent.Modifier<T>
A modifier can be specified to `register` to change the way changes to a watchable are reported.
WatchKey
A `WatchKey` represents a `Watchable`'s registration for events with a `WatchService`.
WatchService
A service that provides monitoring for `Watchable`s, reporting changes on these objects (in the case of jpathwatch, these are `Path` instances).
Windows
WindowsPathWatchService