org.springframework.beans.propertyeditors
Class StringArrayPropertyEditor

java.lang.Object
  extended byjava.beans.PropertyEditorSupport
      extended byorg.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[])

Constructor Summary
StringArrayPropertyEditor()
           
 
Method Summary
 String getAsText()
           
 void setAsText(String s)
           
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, 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
 

Constructor Detail

StringArrayPropertyEditor

public StringArrayPropertyEditor()
Method Detail

setAsText

public void setAsText(String s)
               throws IllegalArgumentException
Throws:
IllegalArgumentException

getAsText

public String getAsText()


Copyright (C) 2003-2004 The Spring Framework Project.