File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes CSV file Format info Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "CSV file Format info" Watch "CSV file Format info" New topic

CSV file Format info

Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8927

Hi All,
Can some one provide me more information on CSV file format.
Thanks in adv

Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
CSV - Comma Seperated Variables/Values
also known as Comma Delimited Values
It's a format commonly used to export database table information. The first line of a csv file is possibly a row of table headers (seperated by commas) and each subsequent line is another row in the database table, where the data is seperated by commas associated with one of the headers in the first line.

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
David Weitzman
Ranch Hand

Joined: Jul 27, 2001
Posts: 1365
CSV files can also have strings in quotes, escape characters, and comments depending on the implementation.
I agree. Here's the link:
subject: CSV file Format info
It's not a secret anymore!