public class FileHandlerListenerAdapter extends Object implements FileHandlerListener
An adapter class simplifying the implementation of custom
FileHandlerListener classes.
This class provides empty dummy implementations for all methods defined by
the FileHandlerListener interface. Custom listener implementations
can extend this adapter class and override only the methods they actually
need.
| Constructor and Description |
|---|
FileHandlerListenerAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
loaded(FileHandler handler)
Notification that the associated file has been loaded.
|
void |
loading(FileHandler handler)
Notification that the associated file is about to be loaded.
|
void |
locationChanged(FileHandler handler)
Notification that a property of the monitored
FileHandler has
changed. |
void |
saved(FileHandler handler)
Notification that the associated file has been saved.
|
void |
saving(FileHandler handler)
Notification that the associated file is about to be saved.
|
public void loading(FileHandler handler)
FileHandlerListenerloading in interface FileHandlerListenerhandler - the file handlerpublic void loaded(FileHandler handler)
FileHandlerListenerloaded in interface FileHandlerListenerhandler - the file handlerpublic void saving(FileHandler handler)
FileHandlerListenersaving in interface FileHandlerListenerhandler - the file handlerpublic void saved(FileHandler handler)
FileHandlerListenersaved in interface FileHandlerListenerhandler - the file handlerpublic void locationChanged(FileHandler handler)
FileHandlerListenerFileHandler has
changed.locationChanged in interface FileHandlerListenerhandler - the file handlerCopyright © 2001–2020 The Apache Software Foundation. All rights reserved.