public class FileConfigurationChangedReloadingStrategy
extends org.apache.commons.configuration.reloading.FileChangedReloadingStrategy
| Constructor and Description |
|---|
FileConfigurationChangedReloadingStrategy() |
| Modifier and Type | Method and Description |
|---|---|
protected File |
getFile() |
protected URL |
getSourceURL() |
protected boolean |
hasChanged()
Check if the configuration has changed since the last time it was loaded.
|
void |
setConfiguration(org.apache.commons.configuration.FileConfiguration configuration) |
protected void |
setSourceURL(URL url) |
protected void |
updateLastModified()
Update the last modified time.
|
public FileConfigurationChangedReloadingStrategy()
public void setConfiguration(org.apache.commons.configuration.FileConfiguration configuration)
setConfiguration in interface org.apache.commons.configuration.reloading.ReloadingStrategysetConfiguration in class org.apache.commons.configuration.reloading.FileChangedReloadingStrategyprotected void setSourceURL(URL url)
protected URL getSourceURL()
protected void updateLastModified()
updateLastModified in class org.apache.commons.configuration.reloading.FileChangedReloadingStrategyprotected boolean hasChanged()
hasChanged in class org.apache.commons.configuration.reloading.FileChangedReloadingStrategyprotected File getFile()
getFile in class org.apache.commons.configuration.reloading.FileChangedReloadingStrategyCopyright © 2020. All Rights Reserved.