You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2013/03/26 18:48:23 UTC

svn commit: r1461240 - in /commons/proper/csv/trunk/src/main/java/org/apache/commons/csv: CSVFormat.java CSVParser.java CSVPrinter.java

Author: ggregory
Date: Tue Mar 26 17:48:22 2013
New Revision: 1461240

URL: http://svn.apache.org/r1461240
Log:
Javadoc.

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

Modified: commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java
URL: http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java?rev=1461240&r1=1461239&r2=1461240&view=diff
==============================================================================
--- commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java (original)
+++ commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java Tue Mar 26 17:48:22 2013
@@ -353,6 +353,7 @@ public class CSVFormat implements Serial
      *            the input stream
      * @return a stream of CSVRecord
      * @throws IOException
+     *             If an I/O error occurs
      */
     public Iterable<CSVRecord> parse(final Reader in) throws IOException {
         return new CSVParser(in, this);
@@ -599,7 +600,8 @@ public class CSVFormat implements Serial
          * @param in
          *            the input stream
          * @return a CSVRecord stream
-         * @throws IOException
+     * @throws IOException
+     *             If an I/O error occurs
          */
         public Iterable<CSVRecord> parse(final Reader in) throws IOException {
             return this.build().parse(in);

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=1461240&r1=1461239&r2=1461240&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 Tue Mar 26 17:48:22 2013
@@ -99,6 +99,8 @@ public class CSVParser implements Iterab
      *            a Reader containing "csv-formatted" input
      * @throws IllegalArgumentException
      *             thrown if the parameters of the format are inconsistent
+     * @throws IOException
+     *             If an I/O error occurs
      */
     public CSVParser(final Reader input) throws IOException {
         this(input, CSVFormat.DEFAULT);
@@ -113,6 +115,8 @@ public class CSVParser implements Iterab
      *            the CSVFormat used for CSV parsing
      * @throws IllegalArgumentException
      *             thrown if the parameters of the format are inconsistent
+     * @throws IOException
+     *             If an I/O error occurs
      */
     public CSVParser(final Reader input, final CSVFormat format) throws IOException {
         this.lexer = new CSVLexer(format, new ExtendedBufferedReader(input));
@@ -128,6 +132,8 @@ public class CSVParser implements Iterab
      *            the CSVFormat used for CSV parsing
      * @throws IllegalArgumentException
      *             thrown if the parameters of the format are inconsistent
+     * @throws IOException
+     *             If an I/O error occurs
      */
     public CSVParser(final String input, final CSVFormat format) throws IOException {
         this(new StringReader(input), format);

Modified: commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVPrinter.java
URL: http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVPrinter.java?rev=1461240&r1=1461239&r2=1461240&view=diff
==============================================================================
--- commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVPrinter.java (original)
+++ commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVPrinter.java Tue Mar 26 17:48:22 2013
@@ -80,6 +80,7 @@ public class CSVPrinter implements Flush
      * Flushes the underlying stream.
      *
      * @throws IOException
+     *             If an I/O error occurs
      */
     public void flush() throws IOException {
         if (out instanceof Flushable) {