Package org.apache.commons.vfs2.events
Class DeleteEvent
- java.lang.Object
-
- org.apache.commons.vfs2.FileChangeEvent
-
- org.apache.commons.vfs2.events.AbstractFileChangeEvent
-
- org.apache.commons.vfs2.events.DeleteEvent
-
public class DeleteEvent extends AbstractFileChangeEvent
File deletion event.
-
-
Constructor Summary
Constructors Constructor Description DeleteEvent(FileObject fileObject)
Constructs a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
notify(FileListener listener)
Notifies the given file listener of this event.-
Methods inherited from class org.apache.commons.vfs2.FileChangeEvent
getFile, getFileObject
-
-
-
-
Constructor Detail
-
DeleteEvent
public DeleteEvent(FileObject fileObject)
Constructs a new instance.- Parameters:
fileObject
- the file object.
-
-
Method Detail
-
notify
public void notify(FileListener listener) throws java.lang.Exception
Description copied from class:AbstractFileChangeEvent
Notifies the given file listener of this event.- Specified by:
notify
in classAbstractFileChangeEvent
- Parameters:
listener
- The file listener to notify.- Throws:
java.lang.Exception
- Anything can happen.
-
-