public interface FileHandlerListener
A listener interface for receiving notifications about updates of a
FileHandler
.
Objects implementing this interface are notified when properties of a
FileHandler
change or when a load or save operation is performed.
This can be useful for various use cases, e.g. when monitoring file-based
configurations.
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.
|
void loading(FileHandler handler)
handler
- the file handlervoid loaded(FileHandler handler)
handler
- the file handlervoid saving(FileHandler handler)
handler
- the file handlervoid saved(FileHandler handler)
handler
- the file handlervoid locationChanged(FileHandler handler)
FileHandler
has
changed.handler
- the file handlerCopyright © 2001–2018 The Apache Software Foundation. All rights reserved.