com.teamdev.filewatch
Interface FileEventFilter

All Known Implementing Classes:
FileMaskFilter

public interface FileEventFilter

A filter for file events.

Instances of this interfaces may be associated with a FileWatcher for filtering unwanted events.


Method Summary
 boolean accept(FileEvent e)
          Tests if the specified event should be processed further.
 

Method Detail

accept

boolean accept(FileEvent e)
Tests if the specified event should be processed further.

Parameters:
e - a new event discovered by a FileWatcher
Returns:
true if and only if the filter accepts the event