Class AbstractFileChangeEvent

java.lang.Object
org.apache.commons.vfs2.FileChangeEvent
org.apache.commons.vfs2.events.AbstractFileChangeEvent
Direct Known Subclasses:
ChangedEvent, CreateEvent, DeleteEvent

public abstract class AbstractFileChangeEvent extends FileChangeEvent
A change event that knows how to notify a listener.
  • Constructor Details

    • AbstractFileChangeEvent

      public AbstractFileChangeEvent(FileObject fileObject)
      Constructs a new instance for subclasses.
      Parameters:
      fileObject - the file object.
  • Method Details

    • notify

      public abstract void notify(FileListener fileListener) throws Exception
      Notifies the given file listener of this event.
      Parameters:
      fileListener - The file listener to notify.
      Throws:
      Exception - Anything can happen.