Package org.jboss.util.propertyeditor
Class IntArrayEditor
- java.lang.Object
-
- java.beans.PropertyEditorSupport
-
- org.jboss.util.propertyeditor.IntArrayEditor
-
- All Implemented Interfaces:
java.beans.PropertyEditor
public class IntArrayEditor extends java.beans.PropertyEditorSupportA property editor for int[].- Version:
- $Revision$
-
-
Constructor Summary
Constructors Constructor Description IntArrayEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAsText()voidsetAsText(java.lang.String text)Build a int[] from comma or eol seperated elements
-
-
-
Method Detail
-
setAsText
public void setAsText(java.lang.String text)
Build a int[] from comma or eol seperated elements- Specified by:
setAsTextin interfacejava.beans.PropertyEditor- Overrides:
setAsTextin classjava.beans.PropertyEditorSupport
-
getAsText
public java.lang.String getAsText()
- Specified by:
getAsTextin interfacejava.beans.PropertyEditor- Overrides:
getAsTextin classjava.beans.PropertyEditorSupport- Returns:
- a comma seperated string of the array elements
-
-