Return-Path: X-Original-To: apmail-commons-commits-archive@minotaur.apache.org Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 099719642 for ; Wed, 14 Mar 2012 18:34:47 +0000 (UTC) Received: (qmail 68577 invoked by uid 500); 14 Mar 2012 18:34:46 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 68515 invoked by uid 500); 14 Mar 2012 18:34:46 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 68506 invoked by uid 99); 14 Mar 2012 18:34:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Mar 2012 18:34:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Mar 2012 18:34:44 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 910862388CA4 for ; Wed, 14 Mar 2012 18:34:23 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1300678 - /commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java Date: Wed, 14 Mar 2012 18:34:23 -0000 To: commits@commons.apache.org From: sebb@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120314183423.910862388CA4@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: sebb Date: Wed Mar 14 18:34:23 2012 New Revision: 1300678 URL: http://svn.apache.org/viewvc?rev=1300678&view=rev Log: Javadoc Modified: commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.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=1300678&r1=1300677&r2=1300678&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 Wed Mar 14 18:34:23 2012 @@ -64,12 +64,12 @@ public class CSVFormat implements Serial */ public static final CSVFormat EXCEL = new CSVFormat(',', '"', DISABLED, DISABLED, false, false, false, false, "\r\n"); - /** Tabulation delimited format. */ + /** Tab-delimited format, with quote; leading and trailing spaces ignored. */ public static final CSVFormat TDF = new CSVFormat('\t', '"', DISABLED, DISABLED, true, true, false, true, "\r\n"); /** * Default MySQL format used by the SELECT INTO OUTFILE and - * LOAD DATA INFILE operations. This is a tabulation delimited + * LOAD DATA INFILE operations. This is a tab-delimited * format with a LF character as the line separator. Values are not quoted * and special characters are escaped with '\'. * @@ -89,6 +89,7 @@ public class CSVFormat implements Serial * @param trailingSpacesIgnored true when trailing whitespaces should be ignored * @param unicodeEscapesInterpreted true when unicode escapes should be interpreted * @param emptyLinesIgnored true when the parser should skip emtpy lines + * @param lineSeparator the line separator to use. */ CSVFormat( char delimiter, @@ -352,7 +353,7 @@ public class CSVFormat implements Serial } /** - * Returns the line separator delimiting the records. + * Returns the line separator delimiting output records. * * @return the line separator */ @@ -361,10 +362,11 @@ public class CSVFormat implements Serial } /** - * Returns a copy of this format using the specified line separator. + * Returns a copy of this format using the specified output line separator. * - * @param lineSeparator the line separator - * @return A copy of this format using the specified line separator + * @param lineSeparator the line separator to be used for output. + * + * @return A copy of this format using the specified output line separator */ public CSVFormat withLineSeparator(String lineSeparator) { return new CSVFormat(delimiter, encapsulator, commentStart, escape, leadingSpacesIgnored, trailingSpacesIgnored, unicodeEscapesInterpreted, emptyLinesIgnored, lineSeparator);