import com.sorma.proto.datasource.DummyRow;
import com.sorma.proto.datasource.Row;
public class DummyData {
public DummyRow[] getRows() {
DummyDatasource ds = new DummyDatasource(500);
List<DummyRow> rows = new ArrayList<DummyRow>(500);
while(ds.hasMoreElements()) {
rows.add(ds.nextElement());
}
return rows.toArray(new DummyRow[0]);
}