protected class ReloadableResourceBundleMessageSource.PropertiesHolder extends Object
PropertiesHolder for caching. Stores the last-modified timestamp of the source file for efficient change detection, and the timestamp of the last refresh attempt (updated every time the cache entry gets re-validated).
Constructor and description |
---|
PropertiesHolder(String filename, Resource resource) |
PropertiesHolder(Properties properties) |
Type Params | Return Type | Name and description |
---|---|---|
|
public long |
getFileTimestamp() |
|
public String |
getFilename() |
|
public MessageFormat |
getMessageFormat(String code, Locale locale) |
|
public Properties |
getProperties() |
|
public String |
getProperty(String code) |
|
public boolean |
update() |