A B C D E F G I K L M N P R S T U V W

A

accept(FileEvent) - Method in interface com.teamdev.filewatch.FileEventFilter
Tests if the specified event should be processed further.
accept(File) - Method in class com.teamdev.filewatch.FileMaskFilter
Verifies if a given file matches this file mask.
accept(FileEvent) - Method in class com.teamdev.filewatch.FileMaskFilter
Tests if the specified event should be processed further.
accept(FileEvent) - Method in class com.teamdev.filewatch.FileWatcher
Verifies if the specified event should be filtered out or not using the associated FileEventFilter.
addFileEventsListener(FileEventsListener) - Method in class com.teamdev.filewatch.FileWatcher
Adds file events listener to this watcher.
addListener(FileEventsListener) - Method in class com.teamdev.filewatch.FileWatcher
Deprecated. use FileWatcher.addFileEventsListener(com.teamdev.filewatch.FileEventsListener) instead
addListener(WatcherEventListener) - Method in class com.teamdev.filewatch.FileWatcher
Deprecated. use FileWatcher.addWatcherListener(WatcherEventListener) instead
addWatcherListener(WatcherEventListener) - Method in class com.teamdev.filewatch.FileWatcher
Add watcher events listener.

B

BidirectionalMap<K,V> - Class in com.teamdev.filewatch.linux
 
BidirectionalMap() - Constructor for class com.teamdev.filewatch.linux.BidirectionalMap
 

C

callback() - Method in class com.teamdev.filewatch.mac.FSEventWatcher.FSEventCallback
 
com.teamdev.filewatch - package com.teamdev.filewatch
 
com.teamdev.filewatch.linux - package com.teamdev.filewatch.linux
 
com.teamdev.filewatch.mac - package com.teamdev.filewatch.mac
 
com.teamdev.filewatch.win - package com.teamdev.filewatch.win
 
create(File) - Static method in class com.teamdev.filewatch.FileWatcher
Factory method that creates a most efficient file system watcher depending on a current operating system and file system type of the specified folder.

D

dispatch(FileEventsListener) - Method in class com.teamdev.filewatch.FileEvent.Added
 
dispatch(FileEventsListener) - Method in class com.teamdev.filewatch.FileEvent.Changed
 
dispatch(FileEventsListener) - Method in class com.teamdev.filewatch.FileEvent.Deleted
 
dispatch(FileEventsListener) - Method in class com.teamdev.filewatch.FileEvent
Implementing events should call an appropriate method of the listener passing itself as a parameter of the corresponding listener's method.
dispatch(FileEventsListener) - Method in class com.teamdev.filewatch.FileEvent.Renamed
 
dispatch(WatcherEventListener) - Method in class com.teamdev.filewatch.WatcherEvent
 
dispatch(WatcherEventListener) - Method in class com.teamdev.filewatch.WatcherEvent.Started
 
dispatch(WatcherEventListener) - Method in class com.teamdev.filewatch.WatcherEvent.Stopped
 

E

eventReceived(String, long, long) - Method in class com.teamdev.filewatch.mac.FSEventWatcher
 

F

FAKE_RENAMES_OPTION - Static variable in class com.teamdev.filewatch.FileWatcher
 
FATWatcher - Class in com.teamdev.filewatch.win
Provides the functionality for monitoring file system events on FAT file systems.
FATWatcher(File) - Constructor for class com.teamdev.filewatch.win.FATWatcher
Creates new FAT file system watcher.
fileAdded(FileEvent.Added) - Method in class com.teamdev.filewatch.FileEventsAdapter
Invoked when a file has beed added.
fileAdded(FileEvent.Added) - Method in interface com.teamdev.filewatch.FileEventsListener
Invoked when a file has beed added.
fileChanged(FileEvent.Changed) - Method in class com.teamdev.filewatch.FileEventsAdapter
Invoked when a file has beed modified.
fileChanged(FileEvent.Changed) - Method in interface com.teamdev.filewatch.FileEventsListener
Invoked when a file has beed modified.
fileDeleted(FileEvent.Deleted) - Method in class com.teamdev.filewatch.FileEventsAdapter
Invoked when a file has beed deleted.
fileDeleted(FileEvent.Deleted) - Method in interface com.teamdev.filewatch.FileEventsListener
Invoked when a file has beed deleted.
FileEvent - Class in com.teamdev.filewatch
Class that represents a file system event.
FileEvent(FileWatcher, File) - Constructor for class com.teamdev.filewatch.FileEvent
Constructs a new event ocurred to the file
FileEvent.Added - Class in com.teamdev.filewatch
The event for a new file.
FileEvent.Added(FileWatcher, File) - Constructor for class com.teamdev.filewatch.FileEvent.Added
 
FileEvent.Changed - Class in com.teamdev.filewatch
The event for a changed file.
FileEvent.Changed(FileWatcher, File) - Constructor for class com.teamdev.filewatch.FileEvent.Changed
 
FileEvent.Deleted - Class in com.teamdev.filewatch
The event for a deleted file.
FileEvent.Deleted(FileWatcher, File) - Constructor for class com.teamdev.filewatch.FileEvent.Deleted
 
FileEvent.Deleted(FileWatcher, File, boolean) - Constructor for class com.teamdev.filewatch.FileEvent.Deleted
 
FileEvent.Moved - Class in com.teamdev.filewatch
Artificial event that represents add-delete event pair for the file reallocated from one folder to another.
FileEvent.Moved(FileWatcher, File, File) - Constructor for class com.teamdev.filewatch.FileEvent.Moved
 
FileEvent.Renamed - Class in com.teamdev.filewatch
The event for a renamed file.
FileEvent.Renamed(FileWatcher, File, File) - Constructor for class com.teamdev.filewatch.FileEvent.Renamed
 
FileEventFilter - Interface in com.teamdev.filewatch
A filter for file events.
FileEventsAdapter - Class in com.teamdev.filewatch
Adapter for FileEventsListener interface.
FileEventsAdapter() - Constructor for class com.teamdev.filewatch.FileEventsAdapter
 
FileEventsListener - Interface in com.teamdev.filewatch
The listener interface for receiving file system events.
FileMaskFilter - Class in com.teamdev.filewatch
This filter provides the functionality for filtering file events by a file mask.
FileMaskFilter(String) - Constructor for class com.teamdev.filewatch.FileMaskFilter
Creates a new filter by the specified file mask or file masks divided by ; separator.
fileRenamed(FileEvent.Renamed) - Method in class com.teamdev.filewatch.FileEventsAdapter
Invoked when a file has beed renamed.
fileRenamed(FileEvent.Renamed) - Method in interface com.teamdev.filewatch.FileEventsListener
Invoked when a file has beed renamed.
FileWatcher - Class in com.teamdev.filewatch
Provides the functionality for monitoring file events in a specified folder.
FileWatcher(File) - Constructor for class com.teamdev.filewatch.FileWatcher
Creates a new watcher for the specified folder.
fileWatcherStarted(WatcherEvent.Started) - Method in class com.teamdev.filewatch.WatcherEventAdapter
Invoked when the file watcher has been started
fileWatcherStarted(WatcherEvent.Started) - Method in interface com.teamdev.filewatch.WatcherEventListener
Invoked when the file watcher has been started
fileWatcherStopped(WatcherEvent.Stopped) - Method in class com.teamdev.filewatch.WatcherEventAdapter
Invoked when the file watcher has been stopped
fileWatcherStopped(WatcherEvent.Stopped) - Method in interface com.teamdev.filewatch.WatcherEventListener
Invoked when the file watcher has been stopped
FSEventWatcher - Class in com.teamdev.filewatch.mac
 
FSEventWatcher(File) - Constructor for class com.teamdev.filewatch.mac.FSEventWatcher
Creates a new watcher for the specified folder.
FSEventWatcher.FSEventCallback - Class in com.teamdev.filewatch.mac
 
FSEventWatcher.FSEventCallback(FSEventWatcher) - Constructor for class com.teamdev.filewatch.mac.FSEventWatcher.FSEventCallback
 

G

getBufferSize() - Method in class com.teamdev.filewatch.linux.INotifyWatcher
 
getBufferSize() - Method in class com.teamdev.filewatch.win.NTFSWatcher
Returns the size of the data buffer that receives events from the file system.
getEventId() - Method in class com.teamdev.filewatch.FileEvent
Returns event id of this event if supported by filesystem
getFile() - Method in class com.teamdev.filewatch.FileEvent
Returns file of this event.
getFileMask() - Method in class com.teamdev.filewatch.FileMaskFilter
Returns file mask.
getFilter() - Method in class com.teamdev.filewatch.FileWatcher
Returns a file event filter.
getFolder() - Method in class com.teamdev.filewatch.FileWatcher
Returns the currently watching directory.
getKey(V) - Method in class com.teamdev.filewatch.linux.BidirectionalMap
 
getNativeKind() - Method in class com.teamdev.filewatch.FileEvent.Deleted
 
getNativeKind() - Method in class com.teamdev.filewatch.FileEvent
 
getOldFile() - Method in class com.teamdev.filewatch.FileEvent.Renamed
 
getOptions() - Method in class com.teamdev.filewatch.FileWatcher
Returns set of watching options.
getStopReason() - Method in class com.teamdev.filewatch.WatcherEvent.Stopped
 
getValue(K) - Method in class com.teamdev.filewatch.linux.BidirectionalMap
 

I

INotifyWatcher - Class in com.teamdev.filewatch.linux
Provides INotify API functionality for monitoring file system events on Linux platforms.
INotifyWatcher(File) - Constructor for class com.teamdev.filewatch.linux.INotifyWatcher
 
isRunning() - Method in class com.teamdev.filewatch.FileWatcher
Returns state of the watcher.

K

KEventWatcher - Class in com.teamdev.filewatch.mac
Provides KQueue API functionality for monitoring file system events on MacOS X platforms.
KEventWatcher(File) - Constructor for class com.teamdev.filewatch.mac.KEventWatcher
 
keySet() - Method in class com.teamdev.filewatch.linux.BidirectionalMap
 

L

log - Variable in class com.teamdev.filewatch.mac.KEventWatcher
 

M

MOVE_EVENTS_OPTION - Static variable in class com.teamdev.filewatch.FileWatcher
 

N

NTFSWatcher - Class in com.teamdev.filewatch.win
Provides the functionality for monitoring file system events on NTFS file systems.
NTFSWatcher(File) - Constructor for class com.teamdev.filewatch.win.NTFSWatcher
Creates new NTFS file system watcher.

P

put(K, V) - Method in class com.teamdev.filewatch.linux.BidirectionalMap
 

R

readEvents() - Method in class com.teamdev.filewatch.FileWatcher
Reads next portion of file system events.
readEvents() - Method in class com.teamdev.filewatch.linux.INotifyWatcher
Reads next portion of file system events.
readEvents() - Method in class com.teamdev.filewatch.mac.FSEventWatcher
 
readEvents() - Method in class com.teamdev.filewatch.mac.KEventWatcher
Reads next portion of file system events.
readEvents() - Method in class com.teamdev.filewatch.win.FATWatcher
 
readEvents() - Method in class com.teamdev.filewatch.win.NTFSWatcher
 
release() - Method in class com.teamdev.filewatch.FileWatcher
Releases all native resources which are associated with a watcher instance.
release() - Method in class com.teamdev.filewatch.linux.INotifyWatcher
Perfom release native resources.
release() - Method in class com.teamdev.filewatch.mac.FSEventWatcher
 
release() - Method in class com.teamdev.filewatch.mac.KEventWatcher
Perfom release native resources.
release() - Method in class com.teamdev.filewatch.win.FATWatcher
 
release() - Method in class com.teamdev.filewatch.win.NTFSWatcher
 
removeFileEventsListener(FileEventsListener) - Method in class com.teamdev.filewatch.FileWatcher
Removes file events listener from this watcher.
removeListener(FileEventsListener) - Method in class com.teamdev.filewatch.FileWatcher
Deprecated. use FileWatcher.removeFileEventsListener(FileEventsListener) instead
removeListener(WatcherEventListener) - Method in class com.teamdev.filewatch.FileWatcher
Deprecated. use FileWatcher.removeWatcherListener(WatcherEventListener) instead
removeWatcherListener(WatcherEventListener) - Method in class com.teamdev.filewatch.FileWatcher
Removes file events listener from this watcher.
resetOptions() - Method in class com.teamdev.filewatch.FileWatcher
Clears options and initializes with all the attributes from WatchingAttributes.

S

setBufferSize(int) - Method in class com.teamdev.filewatch.linux.INotifyWatcher
 
setBufferSize(int) - Method in class com.teamdev.filewatch.win.NTFSWatcher
Sets the new size of the data buffer that receives events from the file system.
setEventId(long) - Method in class com.teamdev.filewatch.FileEvent
 
setFilter(FileEventFilter) - Method in class com.teamdev.filewatch.FileWatcher
Sets a new file event filter.
setOptions(Set<WatchingAttributes>) - Method in class com.teamdev.filewatch.FileWatcher
Specifies the set of watcher options.
setOptions(WatchingAttributes...) - Method in class com.teamdev.filewatch.FileWatcher
Specifies the set of new watching options.
setRunning(boolean, WatcherEvent) - Method in class com.teamdev.filewatch.FileWatcher
Sets the state of this watcher.
setRunning(boolean) - Method in class com.teamdev.filewatch.FileWatcher
Sets the state of this watcher.
setStartingId(long) - Method in class com.teamdev.filewatch.mac.FSEventWatcher
 
start() - Method in class com.teamdev.filewatch.FileWatcher
Starts watching of the specified folder.
startWatching() - Method in class com.teamdev.filewatch.FileWatcher
Notifies watcher that the watching is going to be started.
startWatching() - Method in class com.teamdev.filewatch.linux.INotifyWatcher
Perfom start of the watching process.
startWatching() - Method in class com.teamdev.filewatch.mac.FSEventWatcher
 
startWatching() - Method in class com.teamdev.filewatch.mac.KEventWatcher
Perfom start of the watching process.
startWatching() - Method in class com.teamdev.filewatch.win.FATWatcher
 
startWatching() - Method in class com.teamdev.filewatch.win.NTFSWatcher
 
stop() - Method in class com.teamdev.filewatch.FileWatcher
Stops file system watcher.
stopWatching() - Method in class com.teamdev.filewatch.FileWatcher
Notifies watcher that the watching is going to be stopped.
stopWatching() - Method in class com.teamdev.filewatch.linux.INotifyWatcher
Perfom stop of the watching process.
stopWatching() - Method in class com.teamdev.filewatch.mac.FSEventWatcher
 
stopWatching() - Method in class com.teamdev.filewatch.mac.KEventWatcher
Perfom stop of the watching process.
stopWatching() - Method in class com.teamdev.filewatch.win.FATWatcher
 
stopWatching() - Method in class com.teamdev.filewatch.win.NTFSWatcher
 

T

toString() - Method in class com.teamdev.filewatch.FileEvent.Moved
 
toString() - Method in class com.teamdev.filewatch.FileEvent.Renamed
 
toString() - Method in class com.teamdev.filewatch.FileEvent
 
toString() - Method in class com.teamdev.filewatch.WatcherEvent.Started
 
toString() - Method in class com.teamdev.filewatch.WatcherEvent.Stopped
 

U

updateValue(V, V) - Method in class com.teamdev.filewatch.linux.BidirectionalMap
 

V

valueOf(String) - Static method in enum com.teamdev.filewatch.WatcherEvent.StopReason
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.teamdev.filewatch.WatchingAttributes
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.teamdev.filewatch.WatcherEvent.StopReason
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.teamdev.filewatch.WatchingAttributes
Returns an array containing the constants of this enum type, in the order they are declared.

W

WatcherEvent - Class in com.teamdev.filewatch
Class that represents file watcher state change event
WatcherEvent(FileWatcher) - Constructor for class com.teamdev.filewatch.WatcherEvent
Constructs a prototypical Event.
WatcherEvent.Started - Class in com.teamdev.filewatch
 
WatcherEvent.Started(FileWatcher) - Constructor for class com.teamdev.filewatch.WatcherEvent.Started
Constructs a prototypical Event.
WatcherEvent.Stopped - Class in com.teamdev.filewatch
 
WatcherEvent.Stopped(FileWatcher) - Constructor for class com.teamdev.filewatch.WatcherEvent.Stopped
Constructs a prototypical Event.
WatcherEvent.Stopped(FileWatcher, WatcherEvent.StopReason) - Constructor for class com.teamdev.filewatch.WatcherEvent.Stopped
 
WatcherEvent.StopReason - Enum in com.teamdev.filewatch
 
WatcherEventAdapter - Class in com.teamdev.filewatch
Adapter for WatcherEventListener interface.
WatcherEventAdapter() - Constructor for class com.teamdev.filewatch.WatcherEventAdapter
 
WatcherEventListener - Interface in com.teamdev.filewatch
The listener interface for reporting file watcher state changes
WATCHING_FOLDER_REMOVED - Static variable in class com.teamdev.filewatch.FileWatcher
 
WatchingAttributes - Enum in com.teamdev.filewatch
Represents enumaration of file system attributes that FileWatcher can monitor.

A B C D E F G I K L M N P R S T U V W