From 83ad716bc2fcf6569fc9480843f0e50b5568ae54 Mon Sep 17 00:00:00 2001 From: "Gary D. Gregory" Date: Tue, 26 Mar 2013 22:12:57 +0000 Subject: [PATCH] Add a 'using' section to the main page with a short code example and pointers to the Javadoc. Move the "About" section to the end and remove broken package reference. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1461338 13f79535-47bb-0310-9956-ffa450edef68 --- src/site/xdoc/index.xml | 36 ++++++++++++++++++++++++------------ 1 file changed, 24 insertions(+), 12 deletions(-) diff --git a/src/site/xdoc/index.xml b/src/site/xdoc/index.xml index 2387c3b0..4127040e 100644 --- a/src/site/xdoc/index.xml +++ b/src/site/xdoc/index.xml @@ -22,18 +22,16 @@ limitations under the License. -
-

Commons CSV was started to unify a common and simple interface for reading and writing CSV files under an ASL license. It has been bootstrapped by a code donation from Netcetera in Switzerland. There are three pre-existing BSD compatible CSV parsers which this component will hopefully make redundant (authors willing):

- -

In addition to the code from Netcetera (org.apache.commons.csv), Martin van den Bemt has added an additional writer API (org.apache.commons.csv.writer).

-

Other CSV implementations:

- +
+

Commons CSV reads and writes files in variations of the Comma Separated Value (CSV) format.

+

To parse an Excel CSV file, write:

+ Reader in = ...; +Iterable<CSVRecord> parser = CSVFormat.EXCEL.parse(in); +for (CSVRecord record : parser) { + ... +} +

Other formats are available, please consult the Javadoc for CSVFormat and + CSVParser

@@ -46,6 +44,20 @@ limitations under the License.

Please report any bugs or issues in the Commons Sandbox Jira project at http://issues.apache.org/jira/browse/CSV. Please ask any questions or suggest any ideas for improvement on the commons-dev and commons-user mailing lists.

+
+

Commons CSV was started to unify a common and simple interface for reading and writing CSV files under an ASL license. It has been bootstrapped by a code donation from Netcetera in Switzerland. There are three pre-existing BSD compatible CSV parsers which this component will hopefully make redundant (authors willing):

+ +

In addition to the code from Netcetera (org.apache.commons.csv), Martin van den Bemt has added an additional writer API.

+

Other CSV implementations:

+ +
+