public class ConfigurationFileWatcher
extends java.lang.Object
implements java.lang.Runnable
| Constructor and Description |
|---|
ConfigurationFileWatcher(BundleContext ctx,
java.net.URL configFileUrl) |
| Modifier and Type | Method and Description |
|---|---|
void |
run() |
void |
setFilterList(java.lang.String[] filterList)
Sets a list of file names that are valid to be watched
|
void |
start()
Starts the file watcher
|
void |
stop()
Stopps the watcher and disposes all resources
|
public ConfigurationFileWatcher(BundleContext ctx,
java.net.URL configFileUrl)
public void start()
public void stop()
public void setFilterList(java.lang.String[] filterList)
filterList - the list of files that can be watchedpublic void run()
run in interface java.lang.RunnableData In Motion Consulting 2018