poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fallows, Andrew" <AFall...@drs-c3.com>
Subject RE: Generate csv file using poi
Date Mon, 25 Jun 2007 19:29:57 GMT
I don't know if it is possible using (a) POI class(es), but I did it
with no trouble using regular Java constructs and the FileWriter class:

FileWriter fileOut = new FileWriter("F:/(path)/(filename).csv",true);
fileOut.write((data) + "," + (data) + "," + (data));
fileOut.flush();

Shouldn't be any more to it. I've actually used this to simplify from
Excel format to CSV after performing other operations on the data I was
using.

HTH,
Andrew

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


Mime
View raw message