Return-Path: X-Original-To: apmail-commons-notifications-archive@minotaur.apache.org Delivered-To: apmail-commons-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9E604181E8 for ; Tue, 25 Aug 2015 18:13:13 +0000 (UTC) Received: (qmail 48439 invoked by uid 500); 25 Aug 2015 18:13:13 -0000 Delivered-To: apmail-commons-notifications-archive@commons.apache.org Received: (qmail 48403 invoked by uid 500); 25 Aug 2015 18:13:13 -0000 Mailing-List: contact notifications-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 notifications@commons.apache.org Received: (qmail 48255 invoked by uid 99); 25 Aug 2015 18:13:13 -0000 Received: from eris.apache.org (HELO hades.apache.org) (140.211.11.105) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Aug 2015 18:13:13 +0000 Received: from hades.apache.org (localhost [127.0.0.1]) by hades.apache.org (ASF Mail Server at hades.apache.org) with ESMTP id D17C4AC0BE7 for ; Tue, 25 Aug 2015 18:13:12 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r963067 [6/41] - in /websites/production/commons/content/proper/commons-csv/archives/1.2: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/commons/csv/ apidocs/org/apache/commons/csv/class-use/ api... Date: Tue, 25 Aug 2015 18:13:09 -0000 To: notifications@commons.apache.org From: ggregory@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20150825181312.D17C4AC0BE7@hades.apache.org> Added: websites/production/commons/content/proper/commons-csv/archives/1.2/apidocs/org/apache/commons/csv/class-use/CSVParser.html ============================================================================== --- websites/production/commons/content/proper/commons-csv/archives/1.2/apidocs/org/apache/commons/csv/class-use/CSVParser.html (added) +++ websites/production/commons/content/proper/commons-csv/archives/1.2/apidocs/org/apache/commons/csv/class-use/CSVParser.html Tue Aug 25 18:13:06 2015 @@ -0,0 +1,173 @@ + + + + + + +Uses of Class org.apache.commons.csv.CSVParser (Apache Commons CSV 1.2 API) + + + + + + + + + + +
+

Uses of Class
org.apache.commons.csv.CSVParser

+
+
+ +
+ + + + +

Copyright © 2015 The Apache Software Foundation. All rights reserved.

+ + \ No newline at end of file Added: websites/production/commons/content/proper/commons-csv/archives/1.2/apidocs/org/apache/commons/csv/class-use/CSVPrinter.html ============================================================================== --- websites/production/commons/content/proper/commons-csv/archives/1.2/apidocs/org/apache/commons/csv/class-use/CSVPrinter.html (added) +++ websites/production/commons/content/proper/commons-csv/archives/1.2/apidocs/org/apache/commons/csv/class-use/CSVPrinter.html Tue Aug 25 18:13:06 2015 @@ -0,0 +1,150 @@ + + + + + + +Uses of Class org.apache.commons.csv.CSVPrinter (Apache Commons CSV 1.2 API) + + + + + + + + + + +
+

Uses of Class
org.apache.commons.csv.CSVPrinter

+
+
+ +
+ + + + +

Copyright © 2015 The Apache Software Foundation. All rights reserved.

+ + \ No newline at end of file Added: websites/production/commons/content/proper/commons-csv/archives/1.2/apidocs/org/apache/commons/csv/class-use/CSVRecord.html ============================================================================== --- websites/production/commons/content/proper/commons-csv/archives/1.2/apidocs/org/apache/commons/csv/class-use/CSVRecord.html (added) +++ websites/production/commons/content/proper/commons-csv/archives/1.2/apidocs/org/apache/commons/csv/class-use/CSVRecord.html Tue Aug 25 18:13:06 2015 @@ -0,0 +1,157 @@ + + + + + + +Uses of Class org.apache.commons.csv.CSVRecord (Apache Commons CSV 1.2 API) + + + + + + + + + + +
+

Uses of Class
org.apache.commons.csv.CSVRecord

+
+
+ +
+ + + + +

Copyright © 2015 The Apache Software Foundation. All rights reserved.

+ + \ No newline at end of file Added: websites/production/commons/content/proper/commons-csv/archives/1.2/apidocs/org/apache/commons/csv/class-use/QuoteMode.html ============================================================================== --- websites/production/commons/content/proper/commons-csv/archives/1.2/apidocs/org/apache/commons/csv/class-use/QuoteMode.html (added) +++ websites/production/commons/content/proper/commons-csv/archives/1.2/apidocs/org/apache/commons/csv/class-use/QuoteMode.html Tue Aug 25 18:13:06 2015 @@ -0,0 +1,178 @@ + + + + + + +Uses of Class org.apache.commons.csv.QuoteMode (Apache Commons CSV 1.2 API) + + + + + + + + + + +
+

Uses of Class
org.apache.commons.csv.QuoteMode

+
+
+ +
+ + + + +

Copyright © 2015 The Apache Software Foundation. All rights reserved.

+ + \ No newline at end of file Added: websites/production/commons/content/proper/commons-csv/archives/1.2/apidocs/org/apache/commons/csv/package-frame.html ============================================================================== --- websites/production/commons/content/proper/commons-csv/archives/1.2/apidocs/org/apache/commons/csv/package-frame.html (added) +++ websites/production/commons/content/proper/commons-csv/archives/1.2/apidocs/org/apache/commons/csv/package-frame.html Tue Aug 25 18:13:06 2015 @@ -0,0 +1,28 @@ + + + + + + +org.apache.commons.csv (Apache Commons CSV 1.2 API) + + + + +

org.apache.commons.csv

+ + + \ No newline at end of file Added: websites/production/commons/content/proper/commons-csv/archives/1.2/apidocs/org/apache/commons/csv/package-summary.html ============================================================================== --- websites/production/commons/content/proper/commons-csv/archives/1.2/apidocs/org/apache/commons/csv/package-summary.html (added) +++ websites/production/commons/content/proper/commons-csv/archives/1.2/apidocs/org/apache/commons/csv/package-summary.html Tue Aug 25 18:13:06 2015 @@ -0,0 +1,253 @@ + + + + + + +org.apache.commons.csv (Apache Commons CSV 1.2 API) + + + + + + + + + + +
+

Package org.apache.commons.csv

+
+
Apache Commons CSV Format Support.
+
+

See: Description

+
+
+
    +
  • + + + + + + + + + + + + + + + + + + + + + + + + +
    Class Summary 
    ClassDescription
    CSVFormat +
    Specifies the format of a CSV file and parses input.
    +
    CSVParser +
    Parses CSV files according to the specified format.
    +
    CSVPrinter +
    Prints values in a CSV format.
    +
    CSVRecord +
    A CSV record parsed from a CSV file.
    +
    +
  • +
  • + + + + + + + + + + + + + + + + +
    Enum Summary 
    EnumDescription
    CSVFormat.Predefined +
    Predefines formats.
    +
    QuoteMode +
    Defines quote behavior when printing.
    +
    +
  • +
+ + + +

Package org.apache.commons.csv Description

+
Apache Commons CSV Format Support. + +

CSV are widely used as interfaces to legacy systems or manual data-imports. + CSV stands for "Comma Separated Values" (or sometimes "Character Separated + Values"). The CSV data format is defined in + RFC 4180 + but many dialects exist.

+ +

Common to all file dialects is its basic structure: The CSV data-format + is record oriented, whereas each record starts on a new textual line. A + record is build of a list of values. Keep in mind that not all records + must have an equal number of values:

+
+       csv    := records*
+       record := values*
+ 
+ +

The following list contains the CSV aspects the Commons CSV parser supports:

+
+
Separators (for lines)
+
The record separators are hardcoded and cannot be changed. The must be '\r', '\n' or '\r\n'.
+ +
Delimiter (for values)
+
The delimiter for values is freely configurable (default ',').
+ +
Comments
+
Some CSV-dialects support a simple comment syntax. A comment is a record + which must start with a designated character (the commentStarter). A record + of this kind is treated as comment and gets removed from the input (default none)
+ +
Encapsulator
+
Two encapsulator characters (default '"') are used to enclose -> complex values.
+ +
Simple values
+
A simple value consist of all characters (except the delimiter) until + (but not including) the next delimiter or a record-terminator. Optionally + all surrounding whitespaces of a simple value can be ignored (default: true).
+ +
Complex values
+
Complex values are encapsulated within a pair of the defined encapsulator characters. + The encapsulator itself must be escaped or doubled when used inside complex values. + Complex values preserve all kind of formatting (including newlines -> multiline-values)
+ +
Empty line skipping
+
Optionally empty lines in CSV files can be skipped. + Otherwise, empty lines will return a record with a single empty value.
+
+ +

In addition to individually defined dialects, two predefined dialects (strict-csv, and excel-csv) + can be set directly.

+ +

Example usage:

+
+ Reader in = new StringReader("a,b,c");
+ for (CSVRecord record : CSVFormat.DEFAULT.parse(in)) {
+     for (String field : record) {
+         System.out.print("\"" + field + "\", ");
+     }
+     System.out.println();
+ }
+ 
+
+ + + + +

Copyright © 2015 The Apache Software Foundation. All rights reserved.

+ + \ No newline at end of file Added: websites/production/commons/content/proper/commons-csv/archives/1.2/apidocs/org/apache/commons/csv/package-tree.html ============================================================================== --- websites/production/commons/content/proper/commons-csv/archives/1.2/apidocs/org/apache/commons/csv/package-tree.html (added) +++ websites/production/commons/content/proper/commons-csv/archives/1.2/apidocs/org/apache/commons/csv/package-tree.html Tue Aug 25 18:13:06 2015 @@ -0,0 +1,148 @@ + + + + + + +org.apache.commons.csv Class Hierarchy (Apache Commons CSV 1.2 API) + + + + + + + + + + +
+

Hierarchy For Package org.apache.commons.csv

+
+
+

Class Hierarchy

+ +

Enum Hierarchy

+ +
+ + + + +

Copyright © 2015 The Apache Software Foundation. All rights reserved.

+ + \ No newline at end of file Added: websites/production/commons/content/proper/commons-csv/archives/1.2/apidocs/org/apache/commons/csv/package-use.html ============================================================================== --- websites/production/commons/content/proper/commons-csv/archives/1.2/apidocs/org/apache/commons/csv/package-use.html (added) +++ websites/production/commons/content/proper/commons-csv/archives/1.2/apidocs/org/apache/commons/csv/package-use.html Tue Aug 25 18:13:06 2015 @@ -0,0 +1,168 @@ + + + + + + +Uses of Package org.apache.commons.csv (Apache Commons CSV 1.2 API) + + + + + + + + + + +
+

Uses of Package
org.apache.commons.csv

+
+
+ +
+ + + + +

Copyright © 2015 The Apache Software Foundation. All rights reserved.

+ + \ No newline at end of file Added: websites/production/commons/content/proper/commons-csv/archives/1.2/apidocs/overview-tree.html ============================================================================== --- websites/production/commons/content/proper/commons-csv/archives/1.2/apidocs/overview-tree.html (added) +++ websites/production/commons/content/proper/commons-csv/archives/1.2/apidocs/overview-tree.html Tue Aug 25 18:13:06 2015 @@ -0,0 +1,152 @@ + + + + + + +Class Hierarchy (Apache Commons CSV 1.2 API) + + + + + + + + + + +
+

Hierarchy For All Packages

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Enum Hierarchy

+ +
+ + + + +

Copyright © 2015 The Apache Software Foundation. All rights reserved.

+ + \ No newline at end of file Added: websites/production/commons/content/proper/commons-csv/archives/1.2/apidocs/package-list ============================================================================== --- websites/production/commons/content/proper/commons-csv/archives/1.2/apidocs/package-list (added) +++ websites/production/commons/content/proper/commons-csv/archives/1.2/apidocs/package-list Tue Aug 25 18:13:06 2015 @@ -0,0 +1 @@ +org.apache.commons.csv Added: websites/production/commons/content/proper/commons-csv/archives/1.2/apidocs/script.js ============================================================================== --- websites/production/commons/content/proper/commons-csv/archives/1.2/apidocs/script.js (added) +++ websites/production/commons/content/proper/commons-csv/archives/1.2/apidocs/script.js Tue Aug 25 18:13:06 2015 @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} \ No newline at end of file Added: websites/production/commons/content/proper/commons-csv/archives/1.2/apidocs/serialized-form.html ============================================================================== --- websites/production/commons/content/proper/commons-csv/archives/1.2/apidocs/serialized-form.html (added) +++ websites/production/commons/content/proper/commons-csv/archives/1.2/apidocs/serialized-form.html Tue Aug 25 18:13:06 2015 @@ -0,0 +1,239 @@ + + + + + + +Serialized Form (Apache Commons CSV 1.2 API) + + + + + + + + + + +
+

Serialized Form

+
+
+
    +
  • +

    Package org.apache.commons.csv

    +
      +
    • + + +

      Class org.apache.commons.csv.CSVFormat extends Object implements Serializable

      +
      +
      serialVersionUID:
      +
      1L
      +
      +
        +
      • +

        Serialized Fields

        +
          +
        • +

          delimiter

          +
          char delimiter
          +
        • +
        • +

          quoteCharacter

          +
          Character quoteCharacter
          +
        • +
        • +

          quoteMode

          +
          QuoteMode quoteMode
          +
        • +
        • +

          commentMarker

          +
          Character commentMarker
          +
        • +
        • +

          escapeCharacter

          +
          Character escapeCharacter
          +
        • +
        • +

          ignoreSurroundingSpaces

          +
          boolean ignoreSurroundingSpaces
          +
        • +
        • +

          allowMissingColumnNames

          +
          boolean allowMissingColumnNames
          +
        • +
        • +

          ignoreEmptyLines

          +
          boolean ignoreEmptyLines
          +
        • +
        • +

          recordSeparator

          +
          String recordSeparator
          +
        • +
        • +

          nullString

          +
          String nullString
          +
        • +
        • +

          header

          +
          String[] header
          +
        • +
        • +

          headerComments

          +
          String[] headerComments
          +
        • +
        • +

          skipHeaderRecord

          +
          boolean skipHeaderRecord
          +
        • +
        +
      • +
      +
    • +
    • + + +

      Class org.apache.commons.csv.CSVRecord extends Object implements Serializable

      +
      +
      serialVersionUID:
      +
      1L
      +
      +
        +
      • +

        Serialized Fields

        +
          +
        • +

          characterPosition

          +
          long characterPosition
          +
        • +
        • +

          comment

          +
          String comment
          +
          The accumulated comments (if any)
          +
        • +
        • +

          mapping

          +
          Map<K,V> mapping
          +
          The column name to index mapping.
          +
        • +
        • +

          recordNumber

          +
          long recordNumber
          +
          The record number.
          +
        • +
        • +

          values

          +
          String[] values
          +
          The values of the record
          +
        • +
        +
      • +
      +
    • +
    +
  • +
+
+ + + + +

Copyright © 2015 The Apache Software Foundation. All rights reserved.

+ + \ No newline at end of file