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 |
isReloadable() |
boolean |
isUseCodeAsDefaultMessage() |
void |
setAlwaysUseMessageFormat(boolean alwaysUseMessageFormat) |
void |
setBasename(String basename) |
void |
setCacheDuration(Duration cacheDuration) |
void |
setEncoding(Charset encoding) |
void |
setFallbackToSystemLocale(boolean fallbackToSystemLocale) |
void |
setReloadable(boolean reloadable) |
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)
public boolean isReloadable()
public void setReloadable(boolean reloadable)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.