org.springframework.beans.propertyeditors
Class StringArrayPropertyEditor

java.lang.Object
  extended byjava.beans.PropertyEditorSupport
      extended byorg.springframework.beans.propertyeditors.StringArrayPropertyEditor
All Implemented Interfaces:
java.beans.PropertyEditor

public class StringArrayPropertyEditor
extends java.beans.PropertyEditorSupport

Properties editor for String[] type. Strings must be in CSV format. This property editor is automatically registered by BeanWrapperImpl.

Author:
Rod Johnson
See Also:
BeanWrapperImpl

Constructor Summary
StringArrayPropertyEditor()
           
 
Method Summary
 java.lang.String getAsText()
           
 void setAsText(java.lang.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(java.lang.String s)
               throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

getAsText

public java.lang.String getAsText()


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