Package org.n52.faroe
Class SettingsFileWatcher
java.lang.Object
org.n52.faroe.SettingsFileWatcher
- All Implemented Interfaces:
Constructable,Destroyable
http://andreinc.net/2013/12/06/java-7-nio-2-tutorial-writing-a-simple-filefolder-monitor-using-the-watch-service-api/
https://docs.oracle.com/javase/tutorial/essential/io/notification.html
Load bean:
Configure setting:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()voidinit()voidsetEnabled(boolean enabled) voidsetFileConfiguration(FileSettingsConfiguration fileConfiguration) voidsetSettingsService(SettingsService settingsService) toString()
-
Constructor Details
-
SettingsFileWatcher
public SettingsFileWatcher()
-
-
Method Details
-
setSettingsService
-
setFileConfiguration
-
setEnabled
-
init
public void init()- Specified by:
initin interfaceConstructable
-
destroy
public void destroy()- Specified by:
destroyin interfaceDestroyable
-
toString
-