Sep 9th, 2011, 01:49 PM
Extracting data to a csv file problem with characters
Hi, I am doing a simple extractor using FlatFileItemWriter, DelimitedLineAggregator and BeanWrapperFieldExtractor approach. My problem relies in data I extract sometimes contains the delimited character ',' I am using(yes, I know I could change it), or when data contains an EOL character that causes my csv to put a new line.
What I have done is to extend BeanWrapperFieldExtactor filtering my data and changing it.
Is there an elegant solution for this? any Ideas?
Thanks in advance,
Tags for this Thread