站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 common API Documentation 英文版文档

StringArrayEditor (JBoss/Common API) - JBoss 3.2.7 common API Documentation 英文版文档


org.jboss.util.propertyeditor
Class StringArrayEditor

java.lang.Object
  extended byjava.beans.PropertyEditorSupport
      extended byorg.jboss.util.propertyeditor.StringArrayEditor
All Implemented Interfaces:
PropertyEditor

public class StringArrayEditor
extends PropertyEditorSupport

A property editor for String[].

Version:
$Revision: 1.1.4.3 $
Author:
Jason Dillon, Scott.Stark@jboss.org

Constructor Summary
StringArrayEditor()
           
 
Method Summary
 String getAsText()
           
 void setAsText(String text)
          Build a String[] from comma or eol seperated elements
 
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

StringArrayEditor

public StringArrayEditor()
Method Detail

setAsText

public void setAsText(String text)
Build a String[] from comma or eol seperated elements


getAsText

public String getAsText()
Returns:
a comma seperated string of the array elements


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.