A B C E F G H I K N O P R S T W

A

ACCURATE - Static variable in class name.pachler.nio.file.ext.ExtendedWatchEventModifier
The ExtendedWatchEventModifier.ACCURATE modifier indicates that the WatchKey may not miss events under any circumstances.

B

Bootstrapper - Class in name.pachler.nio.file.ext
The Bootstrapper is used to instantiate WatchService and Path instances.
Bootstrapper() - Constructor for class name.pachler.nio.file.ext.Bootstrapper
 

C

cancel() - Method in class name.pachler.nio.file.WatchKey
This cancels the registration with the WatchService that this WatchKey was registered with.
close() - Method in class name.pachler.nio.file.WatchService
 
ClosedWatchServiceException - Exception in name.pachler.nio.file
This exception is thrown by a WatchService method if that service has been closed.
ClosedWatchServiceException() - Constructor for exception name.pachler.nio.file.ClosedWatchServiceException
 
context() - Method in class name.pachler.nio.file.WatchEvent
 
count() - Method in class name.pachler.nio.file.WatchEvent
The number of times this event occurred, if it is cumulative.

E

ENTRY_CREATE - Static variable in class name.pachler.nio.file.StandardWatchEventKind
Indicates that a file has been created under the watched path.
ENTRY_DELETE - Static variable in class name.pachler.nio.file.StandardWatchEventKind
Indicates that a file has been deleted under the watched path.
ENTRY_MODIFY - Static variable in class name.pachler.nio.file.StandardWatchEventKind
Indicates that a file under the watched path has been modified.
ENTRY_RENAME_FROM - Static variable in class name.pachler.nio.file.ext.ExtendedWatchEventKind
Indicates the old file name of a renamed file.
ENTRY_RENAME_TO - Static variable in class name.pachler.nio.file.ext.ExtendedWatchEventKind
Indicates the new file name of a renamed file.
equals(Object) - Method in class name.pachler.nio.file.Path
 
ExtendedWatchEventKind - Class in name.pachler.nio.file.ext
Provides non-standard watch event kinds that enable more specialized watch features.
ExtendedWatchEventKind() - Constructor for class name.pachler.nio.file.ext.ExtendedWatchEventKind
 
ExtendedWatchEventModifier - Class in name.pachler.nio.file.ext
This class holds non-standard modifiers that can be passed to Path.register().
ExtendedWatchEventModifier() - Constructor for class name.pachler.nio.file.ext.ExtendedWatchEventModifier
 

F

FILE_TREE - Static variable in class name.pachler.nio.file.ext.ExtendedWatchEventModifier
The ExtendedWatchEventModifier.FILE_TREE modifier makes a WatchKey recursive.
FileSystem - Class in name.pachler.nio.file
Represents a file system.
FileSystems - Class in name.pachler.nio.file
Provides static method to get the default FileSystem object.

G

get(String) - Static method in class name.pachler.nio.file.Paths
Creates a new Path instance from the given file system path string.
getDefault() - Static method in class name.pachler.nio.file.FileSystems
Gets the default file system. jpathwatch provides this method as a means to get a FileSystem that in turn allows to create a WatchService instance.
getDefaultPollingInterval() - Static method in class name.pachler.nio.file.ext.Bootstrapper
Retrieves the default polling interval.

H

hashCode() - Method in class name.pachler.nio.file.Path
 

I

isForcePollingEnabled() - Static method in class name.pachler.nio.file.ext.Bootstrapper
 
isValid() - Method in class name.pachler.nio.file.WatchKey
 

K

KEY_INVALID - Static variable in class name.pachler.nio.file.ext.ExtendedWatchEventKind
Indicates that the given WatchKey has become invalid.
kind() - Method in class name.pachler.nio.file.WatchEvent
 

N

name() - Method in interface name.pachler.nio.file.WatchEvent.Kind
 
name() - Method in interface name.pachler.nio.file.WatchEvent.Modifier
The modifier's name should be used for informative purposes only (like error reporting).
name.pachler.nio.file - package name.pachler.nio.file
The name.pachler.nio.file package provides source-compatible implementation of JDK7's WatchService API.
name.pachler.nio.file.ext - package name.pachler.nio.file.ext
Provides non-standard ExtendedWatchEventKind class with extended watch event kinds and modifier tags that enable non-standard features, like recursive watches and file rename tracking.
newPath(File) - Static method in class name.pachler.nio.file.ext.Bootstrapper
Creates a new Path instance for a given File.
newWatchService() - Static method in class name.pachler.nio.file.ext.Bootstrapper
Creates a new WatchService.
newWatchService() - Method in class name.pachler.nio.file.FileSystem
Creates a new WatchService instance by selecting an implementation that best fits the current platform.
NotDirectoryException - Class in name.pachler.nio.file
Indicates that a file system reference was given that references a file type that is not a directory, as the invoked method had expected.
NotDirectoryException() - Constructor for class name.pachler.nio.file.NotDirectoryException
 

O

OVERFLOW - Static variable in class name.pachler.nio.file.StandardWatchEventKind
Indicates queue overflow in the WatchService.

P

Path - Class in name.pachler.nio.file
This class represents an abstract Path object that a WatchService can operate on.
Path() - Constructor for class name.pachler.nio.file.Path
 
Paths - Class in name.pachler.nio.file
Factory class for Path instances.
pathToFile(Path) - Static method in class name.pachler.nio.file.ext.Bootstrapper
Gets the File that corresponds to the given path.
poll() - Method in class name.pachler.nio.file.WatchService
 
poll(long, TimeUnit) - Method in class name.pachler.nio.file.WatchService
 
pollEvents() - Method in class name.pachler.nio.file.WatchKey
Returns the events that have occurred for this WatchKey.

R

register(WatchService, WatchEvent.Kind<?>...) - Method in class name.pachler.nio.file.Path
 
register(WatchService, WatchEvent.Kind<?>[], WatchEvent.Modifier...) - Method in class name.pachler.nio.file.Path
 
register(WatchService, WatchEvent.Kind<?>...) - Method in interface name.pachler.nio.file.Watchable
Registers the file system path (a directory) with the given WatchService and provides a WatchKey as a handle for that registration.
register(WatchService, WatchEvent.Kind<?>[], WatchEvent.Modifier...) - Method in interface name.pachler.nio.file.Watchable
Registers the file system path (a directory) with the given WatchServiceand provides a WatchKey as a handle for that registration.
reset() - Method in class name.pachler.nio.file.WatchKey
Resets this WatchKey (marks it as non-signalled) so that it's corresponding WatchService can report it again via it's WatchService.poll() and WatchService.take() methods.
resolve(Path) - Method in class name.pachler.nio.file.Path
 

S

setDefaultPollingInterval(long) - Static method in class name.pachler.nio.file.ext.Bootstrapper
This method allows to set the default polling time interval for new WatchService implementations that use polling.
setForcePollingEnabled(boolean) - Static method in class name.pachler.nio.file.ext.Bootstrapper
When force polling is enabled, the Bootstrapper's Bootstrapper.newWatchService() method will only produce polling watch services.
StandardWatchEventKind - Class in name.pachler.nio.file
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.
StandardWatchEventKind() - Constructor for class name.pachler.nio.file.StandardWatchEventKind
 

T

take() - Method in class name.pachler.nio.file.WatchService
 
toString() - Method in class name.pachler.nio.file.Path
 
toString() - Method in class name.pachler.nio.file.WatchEvent
 
type() - Method in interface name.pachler.nio.file.WatchEvent.Kind
 

W

Watchable - Interface in name.pachler.nio.file
A watchable is an object that can be registered with a WatchService to be monitored for changes via it's register methods.
WatchEvent<T> - Class in name.pachler.nio.file
Instances of this class hold the information of a particular change to an element below the watched file system object (e.g. a file modification or a rename).
WatchEvent() - Constructor for class name.pachler.nio.file.WatchEvent
 
WatchEvent.Kind<T> - Interface in name.pachler.nio.file
Instances of this class act as tags to identify different kinds of events (like file creation or deletion)
WatchEvent.Modifier<T> - Interface in name.pachler.nio.file
A modifier can be specified to register to change the way changes to a watchable are reported. jpathwatch defines a set of modifiers in the ExtendedWatchEventModifier class.
WatchKey - Class in name.pachler.nio.file
A WatchKey represents a Watchable's registration for events with a WatchService.
WatchKey() - Constructor for class name.pachler.nio.file.WatchKey
 
WatchService - Class in name.pachler.nio.file
A service that provides monitoring for Watchables, reporting changes on these objects (in the case of jpathwatch, these are Path instances).
WatchService() - Constructor for class name.pachler.nio.file.WatchService
 

A B C E F G H I K N O P R S T W