org.springframework.beans.propertyeditors
Class StringArrayPropertyEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.springframework.beans.propertyeditors.StringArrayPropertyEditor
- All Implemented Interfaces:
- PropertyEditor
public class StringArrayPropertyEditor
- extends PropertyEditorSupport
Editor for String arrays. Strings must be in CSV format.
- Author:
- Rod Johnson, Juergen Hoeller
- See Also:
StringUtils.commaDelimitedListToStringArray(java.lang.String)
,
StringUtils.arrayToCommaDelimitedString(java.lang.Object[])
Methods inherited from class java.beans.PropertyEditorSupport |
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringArrayPropertyEditor
public StringArrayPropertyEditor()
setAsText
public void setAsText(String s)
throws IllegalArgumentException
- Specified by:
setAsText
in interface PropertyEditor
- Overrides:
setAsText
in class PropertyEditorSupport
- Throws:
IllegalArgumentException
getAsText
public String getAsText()
- Specified by:
getAsText
in interface PropertyEditor
- Overrides:
getAsText
in class PropertyEditorSupport
Copyright (c) 2002-2005 The Spring Framework Project.