CsvDataSetWriter.write(dataset, _dest);
CsvDataSet.write(dataset, _dest);
    public void execute(IDatabaseConnection connection) throws DatabaseUnitException    {        try        {            if (_dest == null)            {                throw new DatabaseUnitException("'_dest' is a required attribute of the <export> step.");            }            IDataSet dataset = getDatabaseDataSet(connection, _tables, true);            // Write the dataset            if (_format.equals(FORMAT_CSV))            {                CsvDataSetWriter.write(dataset, _dest);            }            else            {                OutputStream out = new FileOutputStream(_dest);                try                {                    if (_format.equalsIgnoreCase(FORMAT_FLAT))                    {                        FlatXmlWriter writer = new FlatXmlWriter(out);                        writer.setDocType(_doctype);                        writer.write(dataset);                    }                    else if (_format.equalsIgnoreCase(FORMAT_XML))                    {                        XmlDataSet.write(dataset, out);                    }                    else if (_format.equalsIgnoreCase(FORMAT_DTD))                    {                        FlatDtdDataSet.write(dataset, out);                    }                }                finally                {                    out.close();                }            }        }        catch (IOException e)        {            throw new DatabaseUnitException(e);        }    }