public void setRows(String rowstring) { if (rowstring != null) { StringTokenizer tokens = new StringTokenizer(rowstring, ","); String[] newrows = new String[tokens.countTokens()]; int i=0; while (tokens.hasMoreTokens()) newrows[i++] = tokens.nextToken().trim(); setRows(newrows);
public void setRows(String[] r) { StringBuffer buffer = new StringBuffer(r[0]); for (int i=1; i < r.length; i++) { buffer.append(","); buffer.append(r[i]);
    public void setRows(String rowstring) {	if (rowstring != null) {	    StringTokenizer tokens = new StringTokenizer(rowstring, ",");	    String[] newrows = new String[tokens.countTokens()];	    int i=0;	    while (tokens.hasMoreTokens())		newrows[i++] = tokens.nextToken().trim();	    setRows(newrows);	}    }