public void setAsText(final String text)
   {
      StringTokenizer stok = new StringTokenizer(text, ",\r\n");
      int[] theValue = new int[stok.countTokens()];
      int i = 0;
      while (stok.hasMoreTokens())
      {
         theValue[i++] = Integer.decode(stok.nextToken()).intValue();
      }
      setValue(theValue);
   }
public void setAsText(final String text)
   {
      StringTokenizer stok = new StringTokenizer(text, ",\r\n");
      int[] theValue = new int[stok.countTokens()];
      int i = 0;
      while (stok.hasMoreTokens())
      {
         theValue[i++] = Integer.decode(stok.nextToken()).intValue();
      }
      setValue(theValue);
   }
public void setAsText ( final String text ) { StringTokenizer stok = new StringTokenizer ( text , ",\r\n" ) ; int [ ] theValue = new int [ stok . countTokens ( ) ] ; int i = 0 ; while ( stok . hasMoreTokens ( ) ) { theValue [ i ++ ] = Integer . decode ( stok . nextToken ( ) ) . intValue ( ) ; } setValue ( theValue ) ; }
Build a int[] from comma or eol seperated elements
Build a int [] from comma or eol seperated elements