public class MessageSourceProperties extends Object
Constructor and Description |
---|
MessageSourceProperties() |
Modifier and Type | Method and Description |
---|---|
String |
getBasename() |
int |
getCacheSeconds() |
Charset |
getEncoding() |
boolean |
isAlwaysUseMessageFormat() |
boolean |
isFallbackToSystemLocale() |
boolean |
isUseCodeAsDefaultMessage() |
void |
setAlwaysUseMessageFormat(boolean alwaysUseMessageFormat) |
void |
setBasename(String basename) |
void |
setCacheSeconds(int cacheSeconds) |
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 int getCacheSeconds()
public void setCacheSeconds(int cacheSeconds)
public boolean isFallbackToSystemLocale()
public void setFallbackToSystemLocale(boolean fallbackToSystemLocale)
public boolean isAlwaysUseMessageFormat()
public void setAlwaysUseMessageFormat(boolean alwaysUseMessageFormat)
public boolean isUseCodeAsDefaultMessage()
public void setUseCodeAsDefaultMessage(boolean useCodeAsDefaultMessage)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.