protected class ReloadableResourceBundleMessageSource.PropertiesHolder
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
(java.lang.String filename, org.springframework.core.io.Resource resource) |
PropertiesHolder
(java.util.Properties properties) |
Type Params | Return Type | Name and description |
---|---|---|
|
public java.text.MessageFormat |
call() |
|
public long |
getFileTimestamp() |
|
public java.lang.String |
getFilename() |
|
public java.text.MessageFormat |
getMessageFormat(java.lang.String code, java.util.Locale locale) |
|
public java.util.Properties |
getProperties() |
|
public java.lang.String |
getProperty(java.lang.String code) |
|
public boolean |
update() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |