I extracted the strategy code from the CSVParser. Still need to roll it into use in CSVPrinter.
Speaking of which, CSVPrinter's speed problems are partly due to calling PrintWriter.flush() a huge number of times to the point where half of the cpu time is spent in that method. Solution-wise, the flush() in the print(String) method needs to go at the very least. One way to make that more palatable would be to pull the flush up into the CSVPrinter API, put the user in charge. Hen --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
