File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes How to export  the row data in a column with pipedelimited format in csv file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to export  the row data in a column with pipedelimited format in csv file " Watch "How to export  the row data in a column with pipedelimited format in csv file " New topic
Author

How to export the row data in a column with pipedelimited format in csv file

sumanta panda
Ranch Hand

Joined: Jun 23, 2008
Posts: 224
Dear All,
I am able to export the data in a csv file.
But each value i am getting different column.

29 Pistler Richard A PLM-5000 RICHARD.PISTLER@SIEMENS.COM

As per my requirement How to export the row data in a column with pipedelimited format in csv file .
For Example::
384998|Ladd|Brian|A|700|Healthcare Diagnostics|a.b@stest.com
010503|Pora|Esther|A|SHI|tttt Instruments|c.d@test.com

Below given is the code
Please suggest me for the needful.

Thanks in advance.
Regards,
Sumanta Panda
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19718
    
  20

How about changing "," into "|"?


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
sumanta panda
Ranch Hand

Joined: Jun 23, 2008
Posts: 224
Thanks a lot Rob Prime.
Regards,
Sumanta Panda
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to export the row data in a column with pipedelimited format in csv file