public class LocaleEditor extends PropertyEditorSupport
java.util.Locale, to directly populate a Locale property.
Expects the same syntax as Locale's toString, i.e. language +
optionally country + optionally variant, separated by "_" (e.g. "en", "en_US").
Also accepts spaces as separators, as alternative to underscores.
Locale,
StringUtils.parseLocaleString(java.lang.String)| 构造器和说明 |
|---|
LocaleEditor() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getAsText() |
void |
setAsText(String text) |
public void setAsText(String text)
setAsText 在接口中 PropertyEditorsetAsText 在类中 PropertyEditorSupportpublic String getAsText()
getAsText 在接口中 PropertyEditorgetAsText 在类中 PropertyEditorSupport