public class MessageSourceProperties extends Object
Constructor and Description |
---|
MessageSourceProperties() |
Modifier and Type | Method and Description |
---|---|
String |
getBasename() |
Duration |
getCacheDuration() |
Charset |
getEncoding() |
boolean |
isAlwaysUseMessageFormat() |
boolean |
isFallbackToSystemLocale() |
boolean |
isUseCodeAsDefaultMessage() |
void |
setAlwaysUseMessageFormat(boolean alwaysUseMessageFormat) |
void |
setBasename(String basename) |
void |
setCacheDuration(Duration cacheDuration) |
void |
setEncoding(Charset encoding) |
void |
setFallbackToSystemLocale(boolean fallbackToSystemLocale) |
void |
setUseCodeAsDefaultMessage(boolean useCodeAsDefaultMessage) |
public String getBasename()
public void setBasename(String basename)
public Charset getEncoding()
public void setEncoding(Charset encoding)
public Duration getCacheDuration()
public void setCacheDuration(Duration cacheDuration)
public boolean isFallbackToSystemLocale()
public void setFallbackToSystemLocale(boolean fallbackToSystemLocale)
public boolean isAlwaysUseMessageFormat()
public void setAlwaysUseMessageFormat(boolean alwaysUseMessageFormat)
public boolean isUseCodeAsDefaultMessage()
public void setUseCodeAsDefaultMessage(boolean useCodeAsDefaultMessage)