You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by br...@apache.org on 2013/09/13 11:22:33 UTC

svn commit: r1522825 - /commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVParser.java

Author: britter
Date: Fri Sep 13 09:22:33 2013
New Revision: 1522825

URL: http://svn.apache.org/r1522825
Log:
Add headings for different topics

Modified:
    commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVParser.java

Modified: commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVParser.java
URL: http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVParser.java?rev=1522825&r1=1522824&r2=1522825&view=diff
==============================================================================
--- commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVParser.java (original)
+++ commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVParser.java Fri Sep 13 09:22:33 2013
@@ -41,6 +41,7 @@ import java.util.NoSuchElementException;
  * Because CSV appears in many different dialects, the parser supports many formats by allowing the
  * specification of a {@link CSVFormat}.
  *
+ * <h4>Creating instances</h4>
  * There are several static factory methods that can be used to create instances for various types of resources:
  * <p>
  * <ul>
@@ -53,6 +54,7 @@ import java.util.NoSuchElementException;
  * Alternatively parsers can also be created by passing a {@link Reader} directly to the sole constructor.
  * </p>
  *
+ * <h4>Parsing record wise</h4>
  * <p>
  * To parse a CSV input with tabs as separators, '"' (double-quote) as an optional value encapsulator, and comments
  * starting with '#', you write:
@@ -80,6 +82,8 @@ import java.util.NoSuchElementException;
  *     ...
  * }
  * </pre>
+ *
+ * <h4>Parsing completely into memory</h4>
  * <p>
  * You may also get a List of records:
  * </p>