File Event Adapter

public interface FileEventAdapter implements FileEventListener

This interface provides noop implementations to handle different kind of file events. You can use this class if you want to listen to specific kinds of events without implementing the check for the type

Functions

Link copied to clipboard
public Unit handle(FileEvent fileEvent)

Handles any file event from the source the listener is registered at.

Link copied to clipboard
public Unit onCreate(FileEvent fileEvent)

Handles create events from the source the listener is registered at.

Link copied to clipboard
public Unit onDelete(FileEvent fileEvent)

Handles create events from the source the listener is registered at.

Link copied to clipboard
public Unit onModify(FileEvent fileEvent)

Handles create events from the source the listener is registered at.