protected class ReloadableResourceBundleMessageSource.PropertiesHolder
extends java.lang.Object
Constructor and Description |
---|
PropertiesHolder() |
PropertiesHolder(java.util.Properties properties,
long fileTimestamp) |
Modifier and Type | Method and Description |
---|---|
long |
getFileTimestamp() |
java.text.MessageFormat |
getMessageFormat(java.lang.String code,
java.util.Locale locale) |
java.util.Properties |
getProperties() |
java.lang.String |
getProperty(java.lang.String code) |
long |
getRefreshTimestamp() |
void |
setRefreshTimestamp(long refreshTimestamp) |
public PropertiesHolder()
public PropertiesHolder(java.util.Properties properties, long fileTimestamp)
@Nullable public java.util.Properties getProperties()
public long getFileTimestamp()
public void setRefreshTimestamp(long refreshTimestamp)
public long getRefreshTimestamp()
@Nullable public java.lang.String getProperty(java.lang.String code)
@Nullable public java.text.MessageFormat getMessageFormat(java.lang.String code, java.util.Locale locale)