com.teamdev.filewatch
Class FileEvent.Deleted

java.lang.Object
  extended by java.util.EventObject
      extended by com.teamdev.filewatch.FileEvent
          extended by com.teamdev.filewatch.FileEvent.Deleted
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
FileEvent

public static class FileEvent.Deleted
extends FileEvent

The event for a deleted file.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.teamdev.filewatch.FileEvent
FileEvent.Added, FileEvent.Changed, FileEvent.Deleted, FileEvent.Moved, FileEvent.Renamed
 
Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
FileEvent.Deleted(FileWatcher source, java.io.File file)
           
FileEvent.Deleted(FileWatcher source, java.io.File file, boolean isDirectory)
           
 
Method Summary
protected  void dispatch(FileEventsListener listener)
          Implementing events should call an appropriate method of the listener passing itself as a parameter of the corresponding listener's method.
protected  java.lang.String getNativeKind()
           
 
Methods inherited from class com.teamdev.filewatch.FileEvent
getEventId, getFile, setEventId, toString
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileEvent.Deleted

public FileEvent.Deleted(FileWatcher source,
                         java.io.File file)

FileEvent.Deleted

public FileEvent.Deleted(FileWatcher source,
                         java.io.File file,
                         boolean isDirectory)
Method Detail

getNativeKind

protected java.lang.String getNativeKind()
Overrides:
getNativeKind in class FileEvent

dispatch

protected void dispatch(FileEventsListener listener)
Description copied from class: FileEvent
Implementing events should call an appropriate method of the listener passing itself as a parameter of the corresponding listener's method.

Specified by:
dispatch in class FileEvent
Parameters:
listener - a listener to notify.