public void writeRow(RowData row) {
        int c = row.size();
        if(c==0) return;
        String toOut = row.get(0).toString();
        for (int i = 1; i < c ; i++) {
            toOut += colsep + row.get(i).toString() ;
        }
        toOut += linesep; //FIXME
        try {
            w.write(toOut.getBytes());
            w.flush();
        } catch (Exception ex) {
            ex.printStackTrace();
        }
    }