org.springframework.beans.propertyeditors
Class LocaleEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.springframework.beans.propertyeditors.LocaleEditor
- All Implemented Interfaces:
- PropertyEditor
- public class LocaleEditor
- extends PropertyEditorSupport
Editor for java.util.Locale, to directly feed a Locale property.
Expects the same syntax as Locale.toString, i.e. language + optionally
country + optionally variant, separated by "_" (e.g. "en", "en_US").
- Since:
- 26.05.2003
- Author:
- Juergen Hoeller
Methods inherited from class java.beans.PropertyEditorSupport |
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setValue, supportsCustomEditor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocaleEditor
public LocaleEditor()
setAsText
public void setAsText(String text)
Copyright (C) 2003-2004 The Spring Framework Project.