Package org.apache.commons.vfs2.events
Class ChangedEvent
- java.lang.Object
-
- org.apache.commons.vfs2.FileChangeEvent
-
- org.apache.commons.vfs2.events.AbstractFileChangeEvent
-
- org.apache.commons.vfs2.events.ChangedEvent
-
public class ChangedEvent extends AbstractFileChangeEvent
File changed event.
-
-
Constructor Summary
Constructors Constructor Description ChangedEvent(FileObject fileObject)Constructs a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidnotify(FileListener listener)Notifies the given file listener of this event.-
Methods inherited from class org.apache.commons.vfs2.FileChangeEvent
getFile, getFileObject
-
-
-
-
Constructor Detail
-
ChangedEvent
public ChangedEvent(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:AbstractFileChangeEventNotifies the given file listener of this event.- Specified by:
notifyin classAbstractFileChangeEvent- Parameters:
listener- The file listener to notify.- Throws:
java.lang.Exception- Anything can happen.
-
-