All Classes and Interfaces
Class
Description
The Bootstrapper is used to instantiate WatchService and Path instances.
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
};
This exception is thrown by a WatchService method if that service has been
closed.
Provides non-standard watch event kinds that enable more specialized
watch features.
This class holds non-standard modifiers that can be passed to
Path.register().
Represents a file system.
Provides static method to get the default FileSystem object.
This Linux implementation of the WatchService interface works without
the use of threads or asynchronous I/O, using Linux' inotify file system
event facitily.
This class loads native libraries packaged in the JAR file that this class resides in.
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.
Note that Path is a new way of representing file system paths in JDK7 and is included here to provide source level compatibility.
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
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 a
WatchService
to be monitored for changes via it's register
methods.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 to
register
to
change the way changes to a watchable are reported.