com.teamdev.filewatch
Class WatcherEventAdapter

java.lang.Object
  extended by com.teamdev.filewatch.WatcherEventAdapter
All Implemented Interfaces:
WatcherEventListener, java.util.EventListener

public class WatcherEventAdapter
extends java.lang.Object
implements WatcherEventListener

Adapter for WatcherEventListener interface.


Constructor Summary
WatcherEventAdapter()
           
 
Method Summary
 void fileWatcherStarted(WatcherEvent.Started e)
          Invoked when the file watcher has been started
 void fileWatcherStopped(WatcherEvent.Stopped e)
          Invoked when the file watcher has been stopped
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WatcherEventAdapter

public WatcherEventAdapter()
Method Detail

fileWatcherStarted

public void fileWatcherStarted(WatcherEvent.Started e)
Invoked when the file watcher has been started

Specified by:
fileWatcherStarted in interface WatcherEventListener
Parameters:
e - file watcher event

fileWatcherStopped

public void fileWatcherStopped(WatcherEvent.Stopped e)
Invoked when the file watcher has been stopped

Specified by:
fileWatcherStopped in interface WatcherEventListener
Parameters:
e - file watcher event