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.PropertyEditorSupport
A 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.String
getAsText()
void
setAsText(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:
setAsText
in interfacejava.beans.PropertyEditor
- Overrides:
setAsText
in classjava.beans.PropertyEditorSupport
-
getAsText
public java.lang.String getAsText()
- Specified by:
getAsText
in interfacejava.beans.PropertyEditor
- Overrides:
getAsText
in classjava.beans.PropertyEditorSupport
- Returns:
- a comma seperated string of the array elements
-
-