FileURLChangedReloadingStrategypublic class FileConfigurationChangedReloadingStrategy
extends FileChangedReloadingStrategy
| Modifier and Type | Field | Description |
|---|---|---|
private static Log |
log |
|
private java.net.URL |
sourceURL |
| Constructor | Description |
|---|---|
FileConfigurationChangedReloadingStrategy() |
| Modifier and Type | Method | Description |
|---|---|---|
protected java.io.File |
getFile() |
|
protected java.net.URL |
getSourceURL() |
|
protected boolean |
hasChanged() |
Check if the configuration has changed since the last time it was loaded.
|
void |
setConfiguration(FileConfiguration configuration) |
|
protected void |
setSourceURL(java.net.URL url) |
|
protected void |
updateLastModified() |
Update the last modified time.
|
public FileConfigurationChangedReloadingStrategy()
public void setConfiguration(FileConfiguration configuration)
protected void setSourceURL(java.net.URL url)
protected java.net.URL getSourceURL()
protected void updateLastModified()
protected boolean hasChanged()
protected java.io.File getFile()