svn commit: r1040537 - in /websites/production/commons/content/proper/commons-io: ./ apidocs/ apidocs/org/apache/commons/io/ apidocs/org/apache/commons/io/class-use/ apidocs/org/apache/commons/io/comp

2019-02-17 Thread britter
Author: britter
Date: Sun Feb 17 19:00:13 2019
New Revision: 1040537

Log:
Site checkin for project Apache Commons IO


[This commit notification would consist of 145 parts, 
which exceeds the limit of 50 ones, so it was shortened to the summary.]


svn commit: r1040535 - in /websites/production/commons/content/proper/commons-cli: apidocs/index.html apidocs/member-search-index.zip apidocs/package-search-index.zip apidocs/type-search-index.zip rat

2019-02-17 Thread britter
Author: britter
Date: Sun Feb 17 17:53:36 2019
New Revision: 1040535

Log:
Site checkin for project Apache Commons CLI

Modified:
websites/production/commons/content/proper/commons-cli/apidocs/index.html

websites/production/commons/content/proper/commons-cli/apidocs/member-search-index.zip

websites/production/commons/content/proper/commons-cli/apidocs/package-search-index.zip

websites/production/commons/content/proper/commons-cli/apidocs/type-search-index.zip
websites/production/commons/content/proper/commons-cli/rat-report.html

Modified: 
websites/production/commons/content/proper/commons-cli/apidocs/index.html
==
--- websites/production/commons/content/proper/commons-cli/apidocs/index.html 
(original)
+++ websites/production/commons/content/proper/commons-cli/apidocs/index.html 
Sun Feb 17 17:53:36 2019
@@ -2,7 +2,7 @@
 
 
 
-
+
 Apache Commons CLI 1.5-SNAPSHOT API
 
 window.location.replace('org/apache/commons/cli/package-summary.html')

Modified: 
websites/production/commons/content/proper/commons-cli/apidocs/member-search-index.zip
==
Binary files - no diff available.

Modified: 
websites/production/commons/content/proper/commons-cli/apidocs/package-search-index.zip
==
Binary files - no diff available.

Modified: 
websites/production/commons/content/proper/commons-cli/apidocs/type-search-index.zip
==
Binary files - no diff available.

Modified: websites/production/commons/content/proper/commons-cli/rat-report.html
==
--- websites/production/commons/content/proper/commons-cli/rat-report.html 
(original)
+++ websites/production/commons/content/proper/commons-cli/rat-report.html Sun 
Feb 17 17:53:36 2019
@@ -293,7 +293,7 @@
 *
 Summary
 ---
-Generated at: 2019-02-17T18:50:08+01:00
+Generated at: 2019-02-17T18:53:28+01:00
 
 Notes: 3
 Binaries: 4




svn commit: r1040534 - in /websites/production/commons/content/proper/commons-cli: ./ apidocs/ apidocs/jquery/ apidocs/jquery/external/ apidocs/jquery/external/jquery/ apidocs/jquery/images/ apidocs/j

2019-02-17 Thread britter
Author: britter
Date: Sun Feb 17 17:52:56 2019
New Revision: 1040534

Log:
Manual site deployment


[This commit notification would consist of 86 parts, 
which exceeds the limit of 50 ones, so it was shortened to the summary.]


svn commit: r1035684 [49/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/comm

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref/stylesheet.css
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref/stylesheet.css
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref/stylesheet.css
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,114 @@
+/* Javadoc style sheet */
+/* Define colors, fonts and other style attributes here to override the 
defaults  */
+body {
+background-color: #fff;
+font-family: Arial, Helvetica, sans-serif;
+}
+
+a:link {
+color: #00f;
+}
+a:visited {
+color: #00a;
+}
+
+a:active, a:hover {
+color: #f30 !important;
+}
+
+ul, li {
+list-style-type:none;
+margin:0;
+padding:0;
+}
+
+table td {
+padding: 3px;
+border: 1px solid #000;
+}
+table {
+width:100%;
+border: 1px solid #000;
+border-collapse: collapse;
+}
+
+div.overview {
+background-color:#ddd;
+padding: 4px 4px 4px 0;
+}
+div.overview li, div.framenoframe li {
+display: inline;
+}
+div.framenoframe {
+text-align: center;
+font-size: x-small;
+}
+div.framenoframe li {
+margin: 0 3px 0 3px;
+}
+div.overview li {
+margin:3px 3px 0 3px;
+padding: 4px;
+}
+li.selected {
+background-color:#888;
+color: #fff;
+font-weight: bold;
+}
+
+table.summary {
+margin-bottom: 20px;
+}
+table.summary td, table.summary th {
+font-weight: bold;
+text-align: left;
+padding: 3px;
+}
+table.summary th {
+background-color:#036;
+color: #fff;
+}
+table.summary td {
+background-color:#eee;
+border: 1px solid black;
+}
+
+em {
+color: #A00;
+}
+em.comment {
+color: #390;
+}
+.string {
+color: #009;
+}
+
+#overview {
+padding:2px;
+}
+
+hr {
+height: 1px;
+color: #000;
+}
+
+/* JXR style sheet */
+.jxr_comment
+{
+color: #390;
+}
+
+.jxr_javadoccomment
+{
+color: #A00;
+}
+
+.jxr_string
+{
+color: #009;
+}
+
+.jxr_keyword
+{
+color: #000;
+}




svn commit: r1035684 [42/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/comm

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref-test/org/apache/commons/csv/issues/JiraCsv164Test.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref-test/org/apache/commons/csv/issues/JiraCsv164Test.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref-test/org/apache/commons/csv/issues/JiraCsv164Test.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,70 @@
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+
+JiraCsv164Test xref
+
+
+
+View
 Javadoc
+1   /*
+2* Licensed to the Apache Software Foundation (ASF) under 
one or more
+3* contributor license agreements.  See the NOTICE file 
distributed with
+4* this work for additional information regarding copyright 
ownership.
+5* The ASF licenses this file to You under the Apache 
License, Version 2.0
+6* (the "License"); you may not use this file except in 
compliance with
+7* the License.  You may obtain a copy of the License 
at
+8*
+9*  http://www.apache.org/licenses/LICENSE-2."; 
target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0
+10   *
+11   * Unless required by applicable law or agreed to in 
writing, software
+12   * distributed under the License is distributed on an "AS 
IS" BASIS,
+13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 
express or implied.
+14   * See the License for the specific language governing 
permissions and
+15   * limitations under the License.
+16   */
+17  package org.apache.commons.csv.issues;
+18  
+19  import static 
org.junit.Assert.assertTrue;
+20  
+21  import java.io.IOException;
+22  
+23  import org.apache.commons.csv.CSVFormat;
+24  import org.apache.commons.csv.CSVPrinter;
+25  import org.junit.Test;
+26  
+27  public class 
JiraCsv164Test
 {
+28  
+29  @Test
+30  public void 
testJiraCsv154_withCommentMarker() throws 
IOException {
+31  final String comment = "This is a header comment";
+32  final CSVFormat format = 
CSVFormat.EXCEL.withHeader("H1", "H2").withCommentMarker('#')
+33  
.withHeaderComments(comment);
+34  final StringBuilder out = new StringBuilder();
+35  try (final 
CSVPrinter printer = format.print(out)) {
+36  
printer.print("A");
+37  
printer.print("B");
+38  }
+39  final String s = out.toString();
+40  assertTrue(s, 
s.contains(comment));
+41  }
+42  
+43  @Test
+44  public void 
testJiraCsv154_withHeaderComments() throws 
IOException {
+45  final String comment = "This is a header comment";
+46  final CSVFormat format = 
CSVFormat.EXCEL.withHeader("H1", "H2").withHeaderComments(comment)
+47  
.withCommentMarker('#');
+48  final StringBuilder out = new StringBuilder();
+49  try (final 
CSVPrinter printer = format.print(out)) {
+50  
printer.print("A");
+51  
printer.print("B");
+52  }
+53  final String s = out.toString();
+54  assertTrue(s, 
s.contains(comment));
+55  }
+56  
+57  }
+
+
+Copyright © 2018 https://www.apache.org/";>The 
Apache Software Foundation. All rights reserved.
+
+

Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref-test/org/apache/commons/csv/issues/JiraCsv167Test.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref-test/org/apache/commons/csv/issues/JiraCsv167Test.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref-test/org/apache/commons/csv/issues/JiraCsv167Test.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,101 @@
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+
+JiraCsv167Test xref
+
+
+
+View
 Javadoc
+1   /*
+2* Licensed to the Apache Software Foundation (ASF) under 
one or more
+3* contributor license agreements.  See the NOTICE file 
distributed with
+4* this work for additional information regarding copyright 
ownership.
+5* The ASF licenses this file to You under the Apache 
License, Version 2.0
+6* (the "License"); you may not use this file except in 
compliance with
+7* the License.  You may obtain a copy of the License 
at
+8*
+9*  http://www.apache.org/licenses/LICENSE-2."; 
target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0
+10   *
+11   * Unless required by applicable law or agreed to in 
writing, software
+12   * distributed under the License is distributed on an "AS 
IS" BASIS,
+13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 
express or implied.
+14   * See the License for the specific language governing 
permissions and
+15   * limitations u

svn commit: r1035684 [28/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/comm

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/jira-report.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/jira-report.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/jira-report.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,1165 @@
+
+
+http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+  
+
+
+
+
+Commons CSV – JIRA Report
+
+  
+  
+
+
+  
+  
+  
+  
+
+  
+  
+
+  
+  http://commons.apache.org/"; id="bannerLeft" 
title="Apache Commons logo">
+   
 
+
+  
+   
 
+
+  
+
+
+  
+
+  http://commons.apache.org/proper/commons-csv/";>Apache Commons CSV 
™
+
+
+Last Published: 25 September 2018
+  | Version: 1.6
+  
+  
+
+  http://www.apachecon.com/"; class="externalLink" 
title="ApacheCon">
+ApacheCon
+  
+  
+  http://www.apache.org"; class="externalLink" 
title="Apache">
+Apache
+  
+  
+  
+Commons
+  
+
+
+
+  
+
+
+
+  
+
+  
+
+
+  Commons CSV
+
+  
+Overview
+  
+ 
+  
+Download
+  
+ 
+  
+User Guide
+  
+ 
+  http://wiki.apache.org/commons/CSV"; 
class="externalLink" title="Wiki">
+Wiki
+  
+ 
+  
+Development
+
+  
+History
+  
+ 
+  
+Mailing Lists
+  
+ 
+  
+Issue Tracking
+  
+ 
+  
+Team
+  
+ 
+  
+Source Repository
+  
+ 
+  
+Javadoc trunk
+  
+ 
+  
+Javadoc 1.6
+  
+ 
+  
+Javadoc 1.5
+  
+ 
+  
+Javadoc 1.4
+  
+ 
+  
+Javadoc 1.3
+  
+ 
+  
+Javadoc 1.2
+  
+ 
+  
+Javadoc 1.1
+  
+ 
+  
+Javadoc 1.0
+  
+ 
+  
+  Site Archives
+
+  
+CSV 1.5
+  
+ 
+  
+CSV 1.4
+  
+ 
+  
+CSV 1.3
+  
+ 
+  
+CSV 1.2
+  
+ 
+  
+CSV 1.1
+  
+ 
+  
+CSV 1.0
+  
+ 
+  
+Project Documentation
+   


   
+  
+Project Information
+
+   




+  
+Project Reports
+
+  
+  
+Changes
+  
+   
+  
+JIRA Report
+  
+ 
+  
+Javadoc
+  
+ 
+  
+Source Xref
+  
+ 
+  
+   

svn commit: r1035684 [33/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/comm

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/surefire-report.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/surefire-report.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/surefire-report.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,2010 @@
+
+
+http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+  
+
+
+
+
+Commons CSV – Surefire Report
+
+  
+  
+
+
+  
+  
+  
+  
+
+  
+  
+
+  
+  http://commons.apache.org/"; id="bannerLeft" 
title="Apache Commons logo">
+   
 
+
+  
+   
 
+
+  
+
+
+  
+
+  http://commons.apache.org/proper/commons-csv/";>Apache Commons CSV 
™
+
+
+Last Published: 25 September 2018
+  | Version: 1.6
+  
+  
+
+  http://www.apachecon.com/"; class="externalLink" 
title="ApacheCon">
+ApacheCon
+  
+  
+  http://www.apache.org"; class="externalLink" 
title="Apache">
+Apache
+  
+  
+  
+Commons
+  
+
+
+
+  
+
+
+
+  
+
+  
+
+
+  Commons CSV
+
+  
+Overview
+  
+ 
+  
+Download
+  
+ 
+  
+User Guide
+  
+ 
+  http://wiki.apache.org/commons/CSV"; 
class="externalLink" title="Wiki">
+Wiki
+  
+ 
+  
+Development
+
+  
+History
+  
+ 
+  
+Mailing Lists
+  
+ 
+  
+Issue Tracking
+  
+ 
+  
+Team
+  
+ 
+  
+Source Repository
+  
+ 
+  
+Javadoc trunk
+  
+ 
+  
+Javadoc 1.6
+  
+ 
+  
+Javadoc 1.5
+  
+ 
+  
+Javadoc 1.4
+  
+ 
+  
+Javadoc 1.3
+  
+ 
+  
+Javadoc 1.2
+  
+ 
+  
+Javadoc 1.1
+  
+ 
+  
+Javadoc 1.0
+  
+ 
+  
+  Site Archives
+
+  
+CSV 1.5
+  
+ 
+  
+CSV 1.4
+  
+ 
+  
+CSV 1.3
+  
+ 
+  
+CSV 1.2
+  
+ 
+  
+CSV 1.1
+  
+ 
+  
+CSV 1.0
+  
+ 
+  
+Project Documentation
+   


   
+  
+Project Information
+
+   




+  
+Project Reports
+
+  
+  
+Changes
+  
+ 
+  
+JIRA Report
+  
+ 
+  
+Javadoc
+  
+ 
+  
+Source Xref
+  
+ 
+ 

svn commit: r1035684 [38/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/comm

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref-test/org/apache/commons/csv/CSVPrinterTest.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref-test/org/apache/commons/csv/CSVPrinterTest.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref-test/org/apache/commons/csv/CSVPrinterTest.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,1398 @@
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+
+CSVPrinterTest xref
+
+
+
+View
 Javadoc
+1   /*
+2* Licensed to the Apache Software Foundation (ASF) under 
one or more
+3* contributor license agreements.  See the NOTICE file 
distributed with
+4* this work for additional information regarding copyright 
ownership.
+5* The ASF licenses this file to You under the Apache 
License, Version 2.0
+6* (the "License"); you may not use this file except in 
compliance with
+7* the License.  You may obtain a copy of the License 
at
+8*
+9*  http://www.apache.org/licenses/LICENSE-2."; 
target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0
+10   *
+11   * Unless required by applicable law or agreed to in 
writing, software
+12   * distributed under the License is distributed on an "AS 
IS" BASIS,
+13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 
express or implied.
+14   * See the License for the specific language governing 
permissions and
+15   * limitations under the License.
+16   */
+17  
+18  package org.apache.commons.csv;
+19  
+20  import static 
org.apache.commons.csv.Constants.CR;
+21  import static 
org.junit.Assert.assertArrayEquals;
+22  import static 
org.junit.Assert.assertEquals;
+23  import static 
org.junit.Assert.assertFalse;
+24  import static 
org.mockito.Mockito.mock;
+25  import static 
org.mockito.Mockito.never;
+26  import static 
org.mockito.Mockito.times;
+27  import static 
org.mockito.Mockito.verify;
+28  
+29  import java.io.CharArrayWriter;
+30  import java.io.File;
+31  import java.io.IOException;
+32  import java.io.StringReader;
+33  import java.io.StringWriter;
+34  import java.io.Writer;
+35  import java.nio.charset.Charset;
+36  import java.nio.charset.StandardCharsets;
+37  import java.sql.BatchUpdateException;
+38  import java.sql.Connection;
+39  import java.sql.DriverManager;
+40  import java.sql.ResultSet;
+41  import java.sql.SQLException;
+42  import java.sql.Statement;
+43  import java.util.Arrays;
+44  import java.util.Date;
+45  import java.util.HashSet;
+46  import java.util.Iterator;
+47  import java.util.LinkedList;
+48  import java.util.List;
+49  import java.util.Objects;
+50  import java.util.Random;
+51  import java.util.Vector;
+52  
+53  import org.apache.commons.io.FileUtils;
+54  import org.h2.value.Value;
+55  import org.h2.value.ValueArray;
+56  import org.junit.Assert;
+57  import org.junit.Ignore;
+58  import org.junit.Test;
+59  
+60  /**
+61   *
+62   */
+63  public class 
CSVPrinterTest
 {
+64  
+65  private static final 
char EURO_CH = '\u20AC';
+66  private static final 
char DQUOTE_CHAR = '"';
+67  private static final 
char BACKSLASH_CH = '\\';
+68  private static final 
char QUOTE_CH = '\'';
+69  private static final 
int ITERATIONS_FOR_RANDOM_TEST = 5;
+70  
+71  private static String printable(final String s) {
+72  final StringBuilder sb = new StringBuilder();
+73  for (int i = 
0; i < s.length(); i++) {
+74  final char ch 
= s.charAt(i);
+75  if (ch <= ' ' || ch >= 128) {
+76  
sb.append("(").append((int) ch).append(")");
+77  } else {
+78  
sb.append(ch);
+79  }
+80  }
+81  return sb.toString();
+82  }
+83  
+84  private final 
String recordSeparator = CSVFormat.DEFAULT.getRecordSeparator();
+85  
+86  private void 
doOneRandom(final CSVFormat format) 
throws Exception {
+87  final Random r = new Random();
+88  
+89  final int 
nLines = r.nextInt(4) + 1;
+90  final int 
nCol = r.nextInt(3) + 1;
+91  // nLines=1;nCol=2;
+92  final String[][] lines = generateLines(nLines, 
nCol);
+93  
+94  final StringWriter sw = new StringWriter();
+95  try (final 
CSVPrinter printer = new CSVPrinter(sw, 
format)) {
+96  
+97  for (int i = 
0; i < nLines; i++) {
+98  // for (int j=0; j

svn commit: r1035684 [47/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/comm

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref/org/apache/commons/csv/Constants.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref/org/apache/commons/csv/Constants.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref/org/apache/commons/csv/Constants.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,95 @@
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+
+Constants xref
+
+
+
+View 
Javadoc
+1   /*
+2* Licensed to the Apache Software Foundation (ASF) under 
one or more
+3* contributor license agreements.  See the NOTICE file 
distributed with
+4* this work for additional information regarding copyright 
ownership.
+5* The ASF licenses this file to You under the Apache 
License, Version 2.0
+6* (the "License"); you may not use this file except in 
compliance with
+7* the License.  You may obtain a copy of the License 
at
+8*
+9*  http://www.apache.org/licenses/LICENSE-2."; 
target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0
+10   *
+11   * Unless required by applicable law or agreed to in 
writing, software
+12   * distributed under the License is distributed on an "AS 
IS" BASIS,
+13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 
express or implied.
+14   * See the License for the specific language governing 
permissions and
+15   * limitations under the License.
+16   */
+17  
+18  package org.apache.commons.csv;
+19  
+20  /**
+21   * Constants for this package.
+22   */
+23  final class 
Constants {
+24  
+25  static final 
char BACKSLASH = '\\';
+26  
+27  static final 
char BACKSPACE = '\b';
+28  
+29  static final 
char COMMA = ',';
+30  
+31  /**
+32   * Starts a comment, the remainder of the line 
is the comment.
+33   */
+34  static final 
char COMMENT = '#';
+35  
+36  static final 
char CR = '\r';
+37  
+38  /** RFC 4180 defines line breaks as CRLF */
+39  static final 
String CRLF = "\r\n";
+40  
+41  static final 
Character DOUBLE_QUOTE_CHAR = Character.valueOf('"');
+42  
+43  static final 
String EMPTY = "";
+44  
+45  /** The end of stream symbol */
+46  static final 
int END_OF_STREAM = -1;
+47  
+48  static final 
char FF = '\f';
+49  
+50  static final 
char LF = '\n';
+51  
+52  /**
+53   * Unicode line separator.
+54   */
+55  static final 
String LINE_SEPARATOR = "\u2028";
+56  
+57  /**
+58   * Unicode next line.
+59   */
+60  static final 
String NEXT_LINE = "\u0085";
+61  
+62  /**
+63   * Unicode paragraph separator.
+64   */
+65  static final 
String PARAGRAPH_SEPARATOR = "\u2029";
+66  
+67  static final 
char PIPE = '|';
+68  
+69  /** ASCII record separator */
+70  static final 
char RS = 30;
+71  
+72  static final 
char SP = ' ';
+73  
+74  static final 
char TAB = '\t';
+75  
+76  /** Undefined state for the lookahead char */
+77  static final 
int UNDEFINED = -2;
+78  
+79  /** ASCII unit separator */
+80  static final 
char US = 31;
+81  
+82  }
+
+
+Copyright © 2018 https://www.apache.org/";>The 
Apache Software Foundation. All rights reserved.
+
+

Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref/org/apache/commons/csv/ExtendedBufferedReader.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref/org/apache/commons/csv/ExtendedBufferedReader.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref/org/apache/commons/csv/ExtendedBufferedReader.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,204 @@
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+
+ExtendedBufferedReader xref
+
+
+
+View
 Javadoc
+1   /*
+2* Licensed to the Apache Software Foundation (ASF) under 
one or more
+3* contributor license agreements.  See the NOTICE file 
distributed with
+4* this work for additional information regarding copyright 
ownership.
+5* The ASF licenses this file to You under the Apache 
License, Version 2.0
+6* (the "License"); you may not use this file except in 
compliance with
+7* the License.  You may obtain a copy of the License 
at
+8*
+9*  http://www.apache.org/licenses/LICENSE-2."; 
target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0
+10   *
+11   * Unless required by applicable law or agreed to in 
writing, software
+12   * distributed under the License is distributed on an "AS 
IS" BASIS,
+13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 
express or implied.
+14   * See the License for the specific language governing 
permissions and
+

svn commit: r1035684 [27/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/comm

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/javancss.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/javancss.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/javancss.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,798 @@
+
+
+http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+  
+
+
+
+
+Commons CSV – JavaNCSS Metric Results
+
+  
+  
+
+
+  
+  
+  
+  
+
+  
+  
+
+  
+  http://commons.apache.org/"; id="bannerLeft" 
title="Apache Commons logo">
+   
 
+
+  
+   
 
+
+  
+
+
+  
+
+  http://commons.apache.org/proper/commons-csv/";>Apache Commons CSV 
™
+
+
+Last Published: 25 September 2018
+  | Version: 1.6
+  
+  
+
+  http://www.apachecon.com/"; class="externalLink" 
title="ApacheCon">
+ApacheCon
+  
+  
+  http://www.apache.org"; class="externalLink" 
title="Apache">
+Apache
+  
+  
+  
+Commons
+  
+
+
+
+  
+
+
+
+  
+
+  
+
+
+  Commons CSV
+
+  
+Overview
+  
+ 
+  
+Download
+  
+ 
+  
+User Guide
+  
+ 
+  http://wiki.apache.org/commons/CSV"; 
class="externalLink" title="Wiki">
+Wiki
+  
+ 
+  
+Development
+
+  
+History
+  
+ 
+  
+Mailing Lists
+  
+ 
+  
+Issue Tracking
+  
+ 
+  
+Team
+  
+ 
+  
+Source Repository
+  
+ 
+  
+Javadoc trunk
+  
+ 
+  
+Javadoc 1.6
+  
+ 
+  
+Javadoc 1.5
+  
+ 
+  
+Javadoc 1.4
+  
+ 
+  
+Javadoc 1.3
+  
+ 
+  
+Javadoc 1.2
+  
+ 
+  
+Javadoc 1.1
+  
+ 
+  
+Javadoc 1.0
+  
+ 
+  
+  Site Archives
+
+  
+CSV 1.5
+  
+ 
+  
+CSV 1.4
+  
+ 
+  
+CSV 1.3
+  
+ 
+  
+CSV 1.2
+  
+ 
+  
+CSV 1.1
+  
+ 
+  
+CSV 1.0
+  
+ 
+  
+Project Documentation
+   


   
+  
+Project Information
+
+   




+  
+Project Reports
+
+  
+  
+Changes
+  
+ 
+  
+JIRA Report
+  
+ 
+  
+Javadoc
+  
+ 
+  
+Source Xref
+  
+ 
+  
+   

svn commit: r1035684 [37/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/comm

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref-test/org/apache/commons/csv/CSVParserTest.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref-test/org/apache/commons/csv/CSVParserTest.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref-test/org/apache/commons/csv/CSVParserTest.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,1215 @@
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+
+CSVParserTest xref
+
+
+
+View
 Javadoc
+1   /*
+2* Licensed to the Apache Software Foundation (ASF) under 
one or more
+3* contributor license agreements.  See the NOTICE file 
distributed with
+4* this work for additional information regarding copyright 
ownership.
+5* The ASF licenses this file to You under the Apache 
License, Version 2.0
+6* (the "License"); you may not use this file except in 
compliance with
+7* the License.  You may obtain a copy of the License 
at
+8*
+9*  http://www.apache.org/licenses/LICENSE-2."; 
target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0
+10   *
+11   * Unless required by applicable law or agreed to in 
writing, software
+12   * distributed under the License is distributed on an "AS 
IS" BASIS,
+13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 
express or implied.
+14   * See the License for the specific language governing 
permissions and
+15   * limitations under the License.
+16   */
+17  
+18  package org.apache.commons.csv;
+19  
+20  import static 
org.apache.commons.csv.Constants.CR;
+21  import static 
org.apache.commons.csv.Constants.CRLF;
+22  import static 
org.apache.commons.csv.Constants.LF;
+23  import static 
org.junit.Assert.assertArrayEquals;
+24  import static 
org.junit.Assert.assertEquals;
+25  import static 
org.junit.Assert.assertFalse;
+26  import static 
org.junit.Assert.assertNotNull;
+27  import static 
org.junit.Assert.assertNull;
+28  import static 
org.junit.Assert.assertTrue;
+29  import static 
org.junit.Assert.fail;
+30  
+31  import java.io.File;
+32  import java.io.IOException;
+33  import java.io.InputStreamReader;
+34  import java.io.PipedReader;
+35  import java.io.PipedWriter;
+36  import java.io.Reader;
+37  import java.io.StringReader;
+38  import java.io.StringWriter;
+39  import java.net.URL;
+40  import java.nio.charset.Charset;
+41  import java.nio.charset.StandardCharsets;
+42  import java.nio.file.Files;
+43  import java.nio.file.Path;
+44  import java.nio.file.Paths;
+45  import java.util.ArrayList;
+46  import java.util.Iterator;
+47  import java.util.List;
+48  import java.util.Map;
+49  import java.util.NoSuchElementException;
+50  
+51  import org.apache.commons.io.input.BOMInputStream;
+52  import org.junit.Assert;
+53  import org.junit.Ignore;
+54  import org.junit.Test;
+55  
+56  /**
+57   * CSVParserTest
+58   *
+59   * The test are organized in three different 
sections: The 'setter/getter' section, the lexer section and finally the
+60   * parser section. In case a test fails, you should 
follow a top-down approach for fixing a potential bug (its likely
+61   * that the parser itself fails if the lexer has 
problems...).
+62   */
+63  public class 
CSVParserTest {
+64  
+65  private static final 
Charset UTF_8 = StandardCharsets.UTF_8;
+66  
+67  private static final 
String UTF_8_NAME = UTF_8.name();
+68  
+69  private static final 
String CSV_INPUT = "a,b,c,d\n" + " a , b , 1 2 \n" + "\"foo baar\", b,\n"
+70  // + " 
\"foo\n,,\n\"\",,\n\\\"\",d,e\n";
+71  + "   
\"foo\n,,\n\"\",,\n\"\"\",d,e\n"; // changed to use standard CSV escaping
+72  
+73  private static final 
String CSV_INPUT_1 = "a,b,c,d";
+74  
+75  private static final 
String CSV_INPUT_2 = "a,b,1 2";
+76  
+77  private static final 
String[][] RESULT = { { "a", "b", "c", "d" }, { "a", "b", "1 2" }, { "foo baar", "b", 
"" },
+78  { "foo\n,,\n\",,\n\"", "d", "e" } };
+79  
+80  private BOMInputStream 
createBOMInputStream(final String 
resource) throws IOException {
+81  final URL url = 
ClassLoader.getSystemClassLoader().getResource(resource);
+82  return new 
BOMInputStream(url.openStream());
+83  }
+84  
+85  @Test
+86  public void 
testBackslashEscaping() throws IOException 
{
+87  
+88  // To avoid confusion over the need for escaping chars in 
java code,
+89  // We will test with a forward slash as the escape char, 
and a single
+90  // quote as the encapsulator.
+91  
+92  final String code = "one,two,three\n" // 0
+93  + "'',''\n" // 1) empty 
encapsulators
+94  + 
"/',/'\n" // 2) single 
encapsulators
+95  + 
"'/'','/''\n" // 3) 
single encapsulators encapsulated via escape
+96  + 
"

svn commit: r1035684 [39/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/comm

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref-test/org/apache/commons/csv/CSVRecordTest.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref-test/org/apache/commons/csv/CSVRecordTest.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref-test/org/apache/commons/csv/CSVRecordTest.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,209 @@
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+
+CSVRecordTest xref
+
+
+
+View
 Javadoc
+1   /*
+2* Licensed to the Apache Software Foundation (ASF) under 
one or more
+3* contributor license agreements.  See the NOTICE file 
distributed with
+4* this work for additional information regarding copyright 
ownership.
+5* The ASF licenses this file to You under the Apache 
License, Version 2.0
+6* (the "License"); you may not use this file except in 
compliance with
+7* the License.  You may obtain a copy of the License 
at
+8*
+9*  http://www.apache.org/licenses/LICENSE-2."; 
target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0
+10   *
+11   * Unless required by applicable law or agreed to in 
writing, software
+12   * distributed under the License is distributed on an "AS 
IS" BASIS,
+13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 
express or implied.
+14   * See the License for the specific language governing 
permissions and
+15   * limitations under the License.
+16   */
+17  package org.apache.commons.csv;
+18  
+19  import static 
org.junit.Assert.assertEquals;
+20  import static 
org.junit.Assert.assertFalse;
+21  import static 
org.junit.Assert.assertNotNull;
+22  import static 
org.junit.Assert.assertNull;
+23  import static 
org.junit.Assert.assertTrue;
+24  
+25  import java.io.IOException;
+26  import java.util.ArrayList;
+27  import java.util.Collections;
+28  import java.util.HashMap;
+29  import java.util.Map;
+30  import java.util.TreeMap;
+31  import java.util.concurrent.ConcurrentHashMap;
+32  
+33  import org.junit.Assert;
+34  import org.junit.Before;
+35  import org.junit.Test;
+36  
+37  public class 
CSVRecordTest {
+38  
+39  private enum EnumFixture { 
UNKNOWN_COLUMN }
+40  
+41  private String[] values;
+42  private CSVRecord record, recordWithHeader;
+43  private Map header;
+44  
+45  @Before
+46  public void 
setUp() throws Exception {
+47  values = 
new String[] { "A", "B", "C" };
+48  record = 
new CSVRecord(values, null, null, 
0, -1);
+49  header = 
new HashMap<>();
+50  
header.put("first", Integer.valueOf(0));
+51  
header.put("second", Integer.valueOf(1));
+52  
header.put("third", Integer.valueOf(2));
+53  
recordWithHeader = new CSVRecord(values, 
header, null, 0, -1);
+54  }
+55  
+56  @Test
+57  public void 
testGetInt() {
+58  
assertEquals(values[0], record.get(0));
+59  
assertEquals(values[1], record.get(1));
+60  
assertEquals(values[2], record.get(2));
+61  }
+62  
+63  @Test
+64  public void 
testGetString() {
+65  
assertEquals(values[0], recordWithHeader.get("first"));
+66  
assertEquals(values[1], recordWithHeader.get("second"));
+67  
assertEquals(values[2], recordWithHeader.get("third"));
+68  }
+69  
+70  @Test(expected = 
IllegalArgumentException.class)
+71  public void 
testGetStringInconsistentRecord() {
+72  
header.put("fourth", Integer.valueOf(4));
+73  
recordWithHeader.get("fourth");
+74  }
+75  
+76  @Test(expected = 
IllegalStateException.class)
+77  public void 
testGetStringNoHeader() {
+78  
record.get("first");
+79  }
+80  
+81  @Test(expected = 
IllegalArgumentException.class)
+82  public void 
testGetUnmappedEnum() {
+83  
assertNull(recordWithHeader.get(EnumFixture.UNKNOWN_COLUMN));
+84  }
+85  
+86  @Test(expected = 
IllegalArgumentException.class)
+87  public void 
testGetUnmappedName() {
+88  
assertNull(recordWithHeader.get("fourth"));
+89  }
+90  
+91  @Test(expected = 
ArrayIndexOutOfBoundsException.class)
+92  public void 
testGetUnmappedNegativeInt() {
+93  
assertNull(recordWithHeader.get(Integer.MIN_VALUE));
+94  }
+95  
+96  @Test(expected = 
ArrayIndexOutOfBoundsException.class)
+97  public void 
testGetUnmappedPositiveInt() {
+98  
assertNull(recordWithHeader.get(Integer.MAX_VALUE));
+99  }
+100 
+101 @Test
+102 public void 
testIsConsistent() {
+103 
assertTrue(record.isConsistent());
+104 
assertTrue(recordWithHeader.isConsistent());
+105 
+106 
header.put("fourth", Integer.valueOf(4));
+107 
assertFalse(recordWithHeader.isConsistent());
+108 }
+109 
+110

svn commit: r1035684 [31/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/comm

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/pmd.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/pmd.html 
(added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/pmd.html 
Tue Sep 25 13:26:18 2018
@@ -0,0 +1,377 @@
+
+
+http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+  
+
+
+
+
+Commons CSV – PMD Results
+
+  
+  
+
+
+  
+  
+  
+  
+
+  
+  
+
+  
+  http://commons.apache.org/"; id="bannerLeft" 
title="Apache Commons logo">
+   
 
+
+  
+   
 
+
+  
+
+
+  
+
+  http://commons.apache.org/proper/commons-csv/";>Apache Commons CSV 
™
+
+
+Last Published: 25 September 2018
+  | Version: 1.6
+  
+  
+
+  http://www.apachecon.com/"; class="externalLink" 
title="ApacheCon">
+ApacheCon
+  
+  
+  http://www.apache.org"; class="externalLink" 
title="Apache">
+Apache
+  
+  
+  
+Commons
+  
+
+
+
+  
+
+
+
+  
+
+  
+
+
+  Commons CSV
+
+  
+Overview
+  
+ 
+  
+Download
+  
+ 
+  
+User Guide
+  
+ 
+  http://wiki.apache.org/commons/CSV"; 
class="externalLink" title="Wiki">
+Wiki
+  
+ 
+  
+Development
+
+  
+History
+  
+ 
+  
+Mailing Lists
+  
+ 
+  
+Issue Tracking
+  
+ 
+  
+Team
+  
+ 
+  
+Source Repository
+  
+ 
+  
+Javadoc trunk
+  
+ 
+  
+Javadoc 1.6
+  
+ 
+  
+Javadoc 1.5
+  
+ 
+  
+Javadoc 1.4
+  
+ 
+  
+Javadoc 1.3
+  
+ 
+  
+Javadoc 1.2
+  
+ 
+  
+Javadoc 1.1
+  
+ 
+  
+Javadoc 1.0
+  
+ 
+  
+  Site Archives
+
+  
+CSV 1.5
+  
+ 
+  
+CSV 1.4
+  
+ 
+  
+CSV 1.3
+  
+ 
+  
+CSV 1.2
+  
+ 
+  
+CSV 1.1
+  
+ 
+  
+CSV 1.0
+  
+ 
+  
+Project Documentation
+   


   
+  
+Project Information
+
+   




+  
+Project Reports
+
+  
+  
+Changes
+  
+ 
+  
+JIRA Report
+  
+ 
+  
+Javadoc
+  
+ 
+  
+Source Xref
+  
+ 
+  
+Test Source Xref
+

svn commit: r1035684 [36/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/comm

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref-test/org/apache/commons/csv/CSVFormatTest.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref-test/org/apache/commons/csv/CSVFormatTest.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref-test/org/apache/commons/csv/CSVFormatTest.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,1112 @@
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+
+CSVFormatTest xref
+
+
+
+View
 Javadoc
+1   /*
+2* Licensed to the Apache Software Foundation (ASF) under 
one or more
+3* contributor license agreements.  See the NOTICE file 
distributed with
+4* this work for additional information regarding copyright 
ownership.
+5* The ASF licenses this file to You under the Apache 
License, Version 2.0
+6* (the "License"); you may not use this file except in 
compliance with
+7* the License.  You may obtain a copy of the License 
at
+8*
+9*  http://www.apache.org/licenses/LICENSE-2."; 
target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0
+10   *
+11   * Unless required by applicable law or agreed to in 
writing, software
+12   * distributed under the License is distributed on an "AS 
IS" BASIS,
+13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 
express or implied.
+14   * See the License for the specific language governing 
permissions and
+15   * limitations under the License.
+16   */
+17  
+18  package org.apache.commons.csv;
+19  
+20  import static 
junit.framework.TestCase.assertNull;
+21  import static 
org.apache.commons.csv.CSVFormat.RFC4180;
+22  import static 
org.apache.commons.csv.Constants.CR;
+23  import static 
org.apache.commons.csv.Constants.CRLF;
+24  import static 
org.apache.commons.csv.Constants.LF;
+25  import static 
org.junit.Assert.assertArrayEquals;
+26  import static 
org.junit.Assert.assertEquals;
+27  import static 
org.junit.Assert.assertFalse;
+28  import static 
org.junit.Assert.assertNotNull;
+29  import static 
org.junit.Assert.assertNotSame;
+30  import static 
org.junit.Assert.assertTrue;
+31  import static 
org.junit.Assert.fail;
+32  
+33  import java.io.ByteArrayInputStream;
+34  import java.io.ByteArrayOutputStream;
+35  import java.io.ObjectInputStream;
+36  import java.io.ObjectOutputStream;
+37  import java.util.Arrays;
+38  
+39  import org.junit.Assert;
+40  import org.junit.Test;
+41  
+42  /**
+43   *
+44   */
+45  public class 
CSVFormatTest {
+46  
+47  public enum EmptyEnum {
+48  }
+49  
+50  public enum Header {
+51  Name, Email, 
Phone
+52  }
+53  
+54  private static void 
assertNotEquals(final Object right, 
final Object left) {
+55  
assertFalse(right.equals(left));
+56  
assertFalse(left.equals(right));
+57  }
+58  
+59  private static CSVFormat copy(final CSVFormat format) {
+60  return format.withDelimiter(format.getDelimiter());
+61  }
+62  
+63  @Test(expected = 
IllegalArgumentException.class)
+64  public void 
testDelimiterSameAsCommentStartThrowsException() {
+65  
CSVFormat.DEFAULT.withDelimiter('!').withCommentMarker('!');
+66  }
+67  
+68  @Test(expected = 
IllegalArgumentException.class)
+69  public void 
testDelimiterSameAsEscapeThrowsException() {
+70  
CSVFormat.DEFAULT.withDelimiter('!').withEscape('!');
+71  }
+72  
+73  @Test(expected = 
IllegalArgumentException.class)
+74  public void 
testDuplicateHeaderElements() {
+75  
CSVFormat.DEFAULT.withHeader("A", "A");
+76  }
+77  
+78  @Test
+79  public void 
testEquals() {
+80  final CSVFormat right = CSVFormat.DEFAULT;
+81  final CSVFormat left = copy(right);
+82  
+83  
assertFalse(right.equals(null));
+84  
assertFalse(right.equals("A String Instance"));
+85  
+86  
assertEquals(right, right);
+87  
assertEquals(right, left);
+88  
assertEquals(left, right);
+89  
+90  
assertEquals(right.hashCode(), right.hashCode());
+91  
assertEquals(right.hashCode(), left.hashCode());
+92  }
+93  
+94  @Test
+95  public void 
testEqualsCommentStart() {
+96  final CSVFormat right = CSVFormat.newFormat('\'')
+97  
.withQuote('"')
+98  
.withCommentMarker('#')
+99  
.withQuoteMode(QuoteMode.ALL);
+100 final CSVFormat left = right
+101 
.withCommentMarker('!');
+102 
+103 
assertNotEquals(right, left);
+104 }
+105 
+106 @Test
+107 public void 
testEqualsDelimiter() {
+108 final CSVFormat right = CSVFormat.newFormat('!');
+109 final CSVFormat left = CSVFormat.newFormat('?');
+110 
+111 
assertNotEquals(right, left);
+112 }
+113 
+114 @Test

svn commit: r1035684 [21/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/comm

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/jacoco/jacoco-sessions.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/jacoco/jacoco-sessions.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/jacoco/jacoco-sessions.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1 @@
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>http://www.w3.org/1999/xhtml"; lang="en">SessionsSessionsApache Commons CSV > SessionsSessionsThis coverage 
report is based on execution data from the following sessions:SessionStart 
TimeDump TimeBenedikts-MBP.fritz.box-f56b327cSep 25, 2018 3:22:49 PMSep 25, 2018 3:22:58 
PMExecution data for the following classes is 
considered in this report:ClassId.java.io.Writer..EnhancerByMockitoWithCGLIB..e0e2b0816a3906c124194aa8junit.framework.Assertdc47510e24a80194junit.framework.TestCasef69980edf8f62a7aorg.apache.commons.csv.Assertionseff742d2607c9195org.apache.commons.csv.AssertionsTestb118ca90ec59e65eorg.apache.commons.csv.CSVFileParserTest672c42d63f51c3caclass="el_class">org.apache.commons.csv.CSVFileParserTest.1ddeb63a3cb9ed890 href="org.apache.commons.csv/CSVFormat.html" 
 >class="el_class">org.apache.commons.csv.CSVFormat3cc7bf3625d51d69 href="org.apache.commons.csv/CSVFormat$1.html" 
 >class="el_class">org.apache.commons.csv.CSVFormat.1e7739b09ffe10430 href="org.apache.commons.csv/CSVFormat$Predefined.html" 
 >class="el_class">org.apache.commons.csv.CSVFormat.Predefined569eaba9309f12df 
 >class="el_class">org.apache.commons.csv.CSVFormatPredefinedTest2e7e43e89f8956ab 
 >class="el_class">org.apache.commons.csv.CSVFormatTesteb1b98db30894a5f class="el_class">org.apache.commons.csv.CSVFormatTest.EmptyEnum
 f1f715acd81d614eorg.apache.commons.csv.CSVFormatTest.Header2c2ddbdc69804e49org.apache.commons.csv.CSVParser1e7670ef536acd7corg.apache.commons.csv.CSVParser.121b69de6ed608223org.apache.commons.csv.CSVParser.CSVRecordIterator918da4de657249cborg.apache.commons.csv.CSVParserTest3191f04ce7a14df3org.apache.commons.csv.CSVPrinter58040a1f4eb41146org.apache.commons.csv.CSVPrinterTest09b0c2334c7a1c5forg.apache.commons.csv.CSVRecord40edbe876d17ca8aorg.apache.commons.csv.CSVRecordTest5ea641992e830a08org.apache.commons.csv.CSVRecordTest.EnumFixtureb3de2efae7f8b769org.apache.commons.csv.Constantsd643c9d6b55e9e09org.apache.commons.csv.ExtendedBufferedReadere7157a5b6fa1f627org.apache.commons.csv.ExtendedBufferedReaderTest6e80c99213ec0334org.apache.commons.csv.Lexer3bc698e390f4ff73org.apache.commons.csv.LexerTest0cc5c6d3f6df3082org.apache.commons.csv.QuoteMode43842febca453b75org.apache.commons.csv.Token6e967b85f88ba151org.apache.commons.csv.Token.Typea525270ad32197c9org.apache.commons.csv.TokenMatchersfb0a3a92c4bed4d4org.apache.commons.csv.TokenMatchers.129ac6738b36f6df3or
 
g.apache.commons.csv.TokenMatchers.278e3236b90b61e18org.apache.commons.csv.TokenMatchers.311307c3907450e6forg.apache.commons.csv.TokenMatchersTest8a67bf88218e41ceorg.apache.commons.csv.Utilsa047944185ad7db8org.apache.commons.csv.issues.JiraCsv164Test0f3497c58692eefforg.apache.commons.csv.issues.JiraCsv167Testef99c56e80f37c37org.apache.commons.csv.issues.JiraCsv198Test8b8b49be94e0c69borg.apache.commons.csv.issues.JiraCsv203Test7b82fedfb11cde67org.apache.commons.io.ByteOrderMark07d086d0748808f7org.apache.commons.io.Charsets831513bbe845e1d1org.apache.commons.io.FileUtilseea562a0020adf67org.apache.commons.io.IOUtilsea308dd0d57b4756org.apache.commons.io.input.BOMInputStream27259d45113cb45borg.apache.commons.io.input.BOMInputStream.14d60fff2f081f2f4org.apache.commons.io.input.ProxyInputStreamb5ff2535136f29ceorg.apache.commons.io.output.StringBuilderWriter033ba7b0e55d4690org.apache.maven.plugin.surefire.log.api.NullConsoleLogger80d79e52a7499259org.apache.maven.surefire.NonAbstractClassFilter7fa4110cdc2fc1deorg.apache.maven.surefire.booter.AbstractPathConfiguration8182fa1396653f01org.apache.maven.surefire.booter.BaseProviderFactory82593383b8ea92d6org.apache.maven.surefire.booter.BiProperty4945e268841ae2cborg.apache.maven.surefire.booter.BooterDeserializer5e68b147d2c4b22forg.apache.maven.surefire.booter.ClassLoaderConfigurationdc8fd5c18ebb0e44org.apache.maven.surefire
 
.booter.Classpath6f6b6469b9fdf4ddorg.apache.maven.surefire.booter.ClasspathConfiguration4c7a5282c74ba3e2org.apache.maven.surefire.booter.Commandeb1b53eb8cbe7b47org.apache.maven.surefire.booter.CommandReader0c8d3ca700ec7199org.apache.maven.surefire.booter.CommandReader.1fbfebde20e2b504corg.apache.maven.surefire.booter.CommandReader.CommandRunnableee59ae4d74408619org.apache.maven.surefire.booter.DumpErrorSingletona3fa02cb87e0e12borg.apache.maven.surefire.booter.ForkedBootera5c33895f
 0d22838org.apache.maven.surefire.booter.ForkedBooter.1c87487d278c3ea96org.apache.maven.surefire.booter.ForkedBooter.231c66931520df8eborg.apache.maven.surefire.booter.ForkedBooter.395d48141fa4dd03dorg.apache.maven.surefire.booter.ForkedBooter

svn commit: r1035684 [16/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/comm

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/download_csv.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/download_csv.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/download_csv.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,421 @@
+
+
+http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+  
+
+
+
+
+
+Commons CSV – Download Apache Commons CSV
+
+  
+  
+
+
+  
+  
+  
+  
+
+  
+  
+
+  
+  http://commons.apache.org/"; id="bannerLeft" 
title="Apache Commons logo">
+   
 
+
+  
+   
 
+
+  
+
+
+  
+
+  http://commons.apache.org/proper/commons-csv/";>Apache Commons CSV 
™
+
+
+Last Published: 25 September 2018
+  | Version: 1.6
+  
+  
+
+  http://www.apachecon.com/"; class="externalLink" 
title="ApacheCon">
+ApacheCon
+  
+  
+  http://www.apache.org"; class="externalLink" 
title="Apache">
+Apache
+  
+  
+  
+Commons
+  
+
+
+
+  
+
+
+
+  
+
+  
+
+
+  Commons CSV
+
+  
+Overview
+  
+ 
+  
+Download
+  
+ 
+  
+User Guide
+  
+ 
+  http://wiki.apache.org/commons/CSV"; 
class="externalLink" title="Wiki">
+Wiki
+  
+ 
+  
+Development
+
+  
+History
+  
+ 
+  
+Mailing Lists
+  
+ 
+  
+Issue Tracking
+  
+ 
+  
+Team
+  
+ 
+  
+Source Repository
+  
+ 
+  
+Javadoc trunk
+  
+ 
+  
+Javadoc 1.6
+  
+ 
+  
+Javadoc 1.5
+  
+ 
+  
+Javadoc 1.4
+  
+ 
+  
+Javadoc 1.3
+  
+ 
+  
+Javadoc 1.2
+  
+ 
+  
+Javadoc 1.1
+  
+ 
+  
+Javadoc 1.0
+  
+ 
+  
+  Site Archives
+
+  
+CSV 1.5
+  
+ 
+  
+CSV 1.4
+  
+ 
+  
+CSV 1.3
+  
+ 
+  
+CSV 1.2
+  
+ 
+  
+CSV 1.1
+  
+ 
+  
+CSV 1.0
+  
+ 
+  
+Project Documentation
+   


   
+  
+Project Information
+
+   



  
+  
+Project Reports
+
+ 
+  
+  Commons
+
+  
+Home
+  
+ 
+  http://www.apache.org/licenses/"; 
class="externalLink" title="License">
+License
+  
+   

+   

svn commit: r1035684 [24/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/comm

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/jacoco/org.apache.commons.csv/CSVParser$1.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/jacoco/org.apache.commons.csv/CSVParser$1.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/jacoco/org.apache.commons.csv/CSVParser$1.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1 @@
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>http://www.w3.org/1999/xhtml"; lang="en">CSVParser.new Object() {...}SessionsApache Commons CSV > org.apache.commons.csv > CSVParser.new Object() {...}CSVParser.new 
Object() {...}ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsTotal5 of 4087%0 of 
0n/a010101static {...}87%n/a010101Created with http://www.jacoco.org/jacoco";>JaCoCo 
0.8.1.201803210924
\ No newline at end of file

Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/jacoco/org.apache.commons.csv/CSVParser$CSVRecordIterator.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/jacoco/org.apache.commons.csv/CSVParser$CSVRecordIterator.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/jacoco/org.apache.commons.csv/CSVParser$CSVRecordIterator.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1 @@
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>http://www.w3.org/1999/xhtml"; lang="en">CSVParser.CSVRecordIteratorSessionsApache Commons CSV > org.apache.commons.csv > CSVParser.CSVRecordIteratorCSVParser.CSVRecordIteratorElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsTotal19 of 8276%0 of 
12100%01132005getNextRecord()17%n/a013401next()100%100%040901hasNext()100%100%040501CSVParser.CSVRecordIterator(CSVParser)100%n/a010101remove()100%n/a010101Created with http://www.jacoco.org/jacoco";>JaCo
 Co 0.8.1.201803210924
\ No newline at end of file

Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/jacoco/org.apache.commons.csv/CSVParser.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/jacoco/org.apache.commons.csv/CSVParser.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/jacoco/org.apache.commons.csv/CSVParser.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1 @@
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>http://www.w3.org/1999/xhtml"; lang="en">CSVParserSessionsApache Commons CSV > org.apache.commons.csv > CSVParserCSVParserElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsTotal29 of 48193%5 of 
5691%5492
 101019nextRecord()79%87%21122701initializeHeader()100%91%21302301CSVParser(Reader, CSVFormat, 
long, long)100%n/a0101201addRecordValue(boolean)100%100%060701parse(URL, Charset, CSVFormat)100%n/a010401parse(File, Charset, CSVFormat)100%n/a010301getRecords()100%100%020401parse(String, 
CSVFormat)100%n/a010301parse(InputStream, Charset, CSVFormat)100%n/a010301parse(Path, Charset, CSVFormat)100%n/a010301getHeaderMap()100%100%020101CSVParser(Reader, 
CSVFormat)100%n/a010201close()100%50%120301parse(Reader, 
CSVFormat)100%n/a01010id="k13">1class="el_method">getCurrentLineNumber()id="b14">title="4" alt="4"/>100%id="d14"/>n/aid="f14">01id="h14">01id="j14">01href="CSVParser.java.html#L408" 
 >class="el_method">getFirstEndOfLine()src="../jacoco-resources/greenbar.gif" width="3" height="10" title="4" 
 >alt="4"/>100%id="d15"/>n/aid="f15">01id="h15">0101isClosed()100%n/a010101getRecordNumber()100%n/a010101iterator()100%n/a010101Created with http://www.jacoco.org/jacoco";>JaCoCo 
0.8.1.201803210924
\ No newline at end of file

Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/jacoco/org.apache.commons.csv/CSVParser.java.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/jacoco/org.apache.commons.csv/CSVParser.java.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/jacoco/org.apache.commons.csv/CSVParser.java.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,630 @@
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>http://www.w3.org/1999/xhtml"; lang="en">CSVParser.javaSessionsApache Commons CSV > org.apache.commons.csv > CSVParser.ja
 vaCSVParser.java/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance 
with
+ * the License.  You may obtain a

svn commit: r1035684 [29/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/comm

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/js/jquery.min.js
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/js/jquery.min.js
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/js/jquery.min.js
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,4 @@
+/*! jQuery v1.7.1 jquery.com | jquery.org/license */
+(function(a,b){function cy(a){return 
f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function 
cv(a){if(!ck[a]){var 
b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorder=cl.width=cl.height=0),b.appendChild(cl);if(!cm||!cl.createElement)cm=(cl.contentWindow||cl.contentDocument).document,cm.write((c.compatMode==="CSS1Compat"?"":"")+""),cm.close();d=cm.createElement(a),cm.body.appendChild(d),e=f.css(d,"display"),b.removeChild(cl)}ck[a]=e}return
 ck[a]}function cu(a,b){var 
c={};f.each(cq.concat.apply([],cq.slice(0,b)),function(){c[this]=a});return 
c}function ct(){cr=b}function cs(){setTimeout(ct,0);return cr=f.now()}function 
cj(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function 
ci(){try{return new a.XMLHttpRequest}catch(b){}}function 
cc(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var 
d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p
 ;for(g=1;g0){if(c!=="border")for(;g=0===c})}function 
S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function 
K(){return!0}function J(){return!1}function n(a,b,c){var 
d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function
 m(a){for(var b in 
a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function
 l(a,c,d){if(d===b&&a.nodeType===1){var 
e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof 
d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?parse
 Float(d):j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return 
d}function h(a){var 
b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[
 \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) 
([\w.]+)/,u=/(mozilla)(?:.*? 
rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.pro
 
totype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var
 g,h,j,k;if(!a)return 
this;if(a.nodeType){this.context=this[0]=a,this.length=1;return 
this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return
 this}if(typeof 
a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d
 instanceof 
e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return
 
e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return
 f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return 
this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return
 f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.
 context);return 
e.makeArray(a,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return 
this.length},toArray:function(){return F.call(this,0)},get:function(a){return 
a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var
 
d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?"
 ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return 
d},each:function(a,b){return 
e.each(this,a,b)},ready:function(a){e.bindReady(),A.add(a);return 
this},eq:function(a){a=+a;return 
a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return 
this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return 
this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return
 this.pushStack(e.map(this,function(b,c){return 
a.call(b,c,b)}))},end:function(){return 
this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].
 splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var 
a,c,d,f,g,h,i=arguments[0]||{},j=1,k=argume

svn commit: r1035684 [43/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/comm

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref-test/org/apache/commons/csv/perf/PerformanceTest.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref-test/org/apache/commons/csv/perf/PerformanceTest.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref-test/org/apache/commons/csv/perf/PerformanceTest.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,142 @@
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+
+PerformanceTest xref
+
+
+
+View
 Javadoc
+1   /*
+2* Licensed to the Apache Software Foundation (ASF) under 
one or more
+3* contributor license agreements.  See the NOTICE file 
distributed with
+4* this work for additional information regarding copyright 
ownership.
+5* The ASF licenses this file to You under the Apache 
License, Version 2.0
+6* (the "License"); you may not use this file except in 
compliance with
+7* the License.  You may obtain a copy of the License 
at
+8*
+9*  http://www.apache.org/licenses/LICENSE-2."; 
target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0
+10   *
+11   * Unless required by applicable law or agreed to in 
writing, software
+12   * distributed under the License is distributed on an "AS 
IS" BASIS,
+13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 
express or implied.
+14   * See the License for the specific language governing 
permissions and
+15   * limitations under the License.
+16   */
+17  
+18  package org.apache.commons.csv.perf;
+19  
+20  import java.io.BufferedReader;
+21  import java.io.File;
+22  import java.io.FileInputStream;
+23  import java.io.FileNotFoundException;
+24  import java.io.FileOutputStream;
+25  import java.io.FileReader;
+26  import java.io.IOException;
+27  import java.io.InputStream;
+28  import java.io.OutputStream;
+29  import java.io.Reader;
+30  import java.util.zip.GZIPInputStream;
+31  
+32  import org.apache.commons.csv.CSVFormat;
+33  import org.apache.commons.csv.CSVRecord;
+34  import org.apache.commons.io.IOUtils;
+35  import org.junit.BeforeClass;
+36  import org.junit.Test;
+37  
+38  /**
+39   * Tests performance.
+40   *
+41   * To run this test, use: mvn test 
-Dtest=PeformanceTest
+42   */
+43  
@SuppressWarnings("boxing") // test code
+44  public class 
PerformanceTest
 {
+45  
+46  private final 
int max = 10;
+47  
+48  private static final 
File BIG_FILE = new 
File(System.getProperty("java.io.tmpdir"), 
"worldcitiespop.txt");
+49  
+50  @BeforeClass
+51  public static 
void setUpClass() throws FileNotFoundException, IOException {
+52  if (BIG_FILE.exists()) {
+53  
System.out.println(String.format("Found test fixture 
%s: %,d bytes.", BIG_FILE, BIG_FILE.length()));
+54  return;
+55  }
+56  
System.out.println("Decompressing test fixture 
" + BIG_FILE + "...");
+57  try (final 
InputStream input = new GZIPInputStream(
+58  
new FileInputStream("src/test/resources/perf/worldcitiespop.txt.gz"));
+59  
final OutputStream output = new FileOutputStream(BIG_FILE)) {
+60  
IOUtils.copy(input, output);
+61  
System.out.println(String.format("Decompressed test 
fixture %s: %,d bytes.", BIG_FILE, BIG_FILE.length()));
+62  }
+63  }
+64  
+65  private BufferedReader createBufferedReader() 
throws IOException {
+66  return new 
BufferedReader(new FileReader(BIG_FILE));
+67  }
+68  
+69  private long 
parse(final Reader in, final boolean 
traverseColumns) throws IOException {
+70  final CSVFormat format = 
CSVFormat.DEFAULT.withIgnoreSurroundingSpaces(false);
+71  long recordCount = 0;
+72  for (final 
CSVRecord record : format.parse(in)) {
+73  
recordCount++;
+74  if (traverseColumns) {
+75  
for (@SuppressWarnings("unused") final 
String value : record) {
+76  
// do nothing for now
+77  }
+78  }
+79  }
+80  return recordCount;
+81  }
+82  
+83  private void 
println(final String s) {
+84  
System.out.println(s);
+85  }
+86  
+87  private long 
readAll(final BufferedReader in) throws IOException {
+88  long count = 0;
+89  while (in.readLine() != null) {
+90  count++;
+91  }
+92  return count;
+93  }
+94  
+95  public long 
testParseBigFile(final boolean traverseColumns) throws Exception {
+96  final long 
startMillis = System.currentTimeMillis();
+97  final long 
count = this.parse(this.createBufferedReader(), traverseColumns);
+98  final long 
totalMillis = System.currentTimeMillis() - startMillis;
+99  this.println(String.format("File p

svn commit: r1035684 [13/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/comm

2018-09-25 Thread britter
   
+  
+Javadoc
+  
+ 
+  
+Source Xref
+  
+ 
+  
+Test Source Xref
+  
+ 
+  
+Surefire Report
+  
+ 
+  
+Rat Report
+  
+ 
+  
+JDepend
+  
+ 
+  
+japicmp
+  
+ 
+  
+JaCoCo
+  
+ 
+  
+JaCoCo Aggregate
+  
+ 
+  
+Checkstyle
+  
+ 
+  
+PMD
+  
+ 
+  
+FindBugs
+  
+ 
+  
+Tag List
+  
+ 
+  
+JavaNCSS Report
+  
+ 
+  
+ 
+  
+  Commons
+
+  
+Home
+  
+ 
+  http://www.apache.org/licenses/"; 
class="externalLink" title="License">
+License
+  
+   

+  
+Components
+
+   

+  
+Sandbox
+
+   

+  
+Dormant
+
+ 
+  
+  General 
Information
+
+  
+Security
+  
+ 
+  
+Volunteering
+  
+ 
+  
+Contributing Patches
+  
+ 
+  
+Building Components
+  
+ 
+  
+Commons Parent Pom
+  
+ 
+  
+Commons Build Plugin
+  
+ 
+  
+Releasing Components
+  
+ 
+  http://wiki.apache.org/commons/FrontPage"; 
class="externalLink" title="Wiki">
+Wiki
+  
+ 
+  
+  ASF
+
+  http://www.apache.org/foundation/how-it-works.html"; 
class="externalLink" title="How the ASF works">
+How the ASF works
+  
+ 
+  http://www.apache.org/foundation/getinvolved.html"; 
class="externalLink" title="Get Involved">
+Get Involved
+  
+ 
+  http://www.apache.org/dev/"; class="externalLink" 
title="Developer Resources">
+Developer Resources
+  
+ 
+  http://www.apache.org/foundation/policies/conduct.html"; 
class="externalLink" title="Code of Conduct">
+Code of Conduct
+  
+ 
+  http://www.apache.org/foundation/sponsorship.html"; 
class="externalLink" title="Sponsorship">
+Sponsorship
+  
+ 
+  http://www.apache.org/foundation/thanks.html"; 
class="externalLink" title="Thanks">
+Thanks
+  
+ 
+  
+
+   
 http://www.apache.org/events/current-event.html"; title="ApacheCon" 
class="builtBy">
+http://www.apache.org/events/current-event-125x125.png";/>
+  
+   
 http://maven.apache.org/"; title="Maven" 
class="builtBy">
+http://maven.apache.org/images/logos/maven-feather.png";/>
+  
+  
+  
+  
+
+Release Notes
+
+Release History
+
+
+Version
+Date
+Description
+
+1.6
+2018-09-22
+Feature and bug fix release
+
+1.5
+2017-09-03
+Feature and bug fix release
+
+1.4
+2016-05-28
+Feature and 

svn commit: r1035684 [15/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/comm

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/dependencies.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/dependencies.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/dependencies.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,580 @@
+
+
+http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+  
+
+
+
+
+Commons CSV – Project Dependencies
+
+  
+  
+
+
+  
+  
+  
+  
+
+  
+  
+
+  
+  http://commons.apache.org/"; id="bannerLeft" 
title="Apache Commons logo">
+   
 
+
+  
+   
 
+
+  
+
+
+  
+
+  http://commons.apache.org/proper/commons-csv/";>Apache Commons CSV 
™
+
+
+Last Published: 25 September 2018
+  | Version: 1.6
+  
+  
+
+  http://www.apachecon.com/"; class="externalLink" 
title="ApacheCon">
+ApacheCon
+  
+  
+  http://www.apache.org"; class="externalLink" 
title="Apache">
+Apache
+  
+  
+  
+Commons
+  
+
+
+
+  
+
+
+
+  
+
+  
+
+
+  Commons CSV
+
+  
+Overview
+  
+ 
+  
+Download
+  
+ 
+  
+User Guide
+  
+ 
+  http://wiki.apache.org/commons/CSV"; 
class="externalLink" title="Wiki">
+Wiki
+  
+ 
+  
+Development
+
+  
+History
+  
+ 
+  
+Mailing Lists
+  
+ 
+  
+Issue Tracking
+  
+ 
+  
+Team
+  
+ 
+  
+Source Repository
+  
+ 
+  
+Javadoc trunk
+  
+ 
+  
+Javadoc 1.6
+  
+ 
+  
+Javadoc 1.5
+  
+ 
+  
+Javadoc 1.4
+  
+ 
+  
+Javadoc 1.3
+  
+ 
+  
+Javadoc 1.2
+  
+ 
+  
+Javadoc 1.1
+  
+ 
+  
+Javadoc 1.0
+  
+ 
+  
+  Site Archives
+
+  
+CSV 1.5
+  
+ 
+  
+CSV 1.4
+  
+ 
+  
+CSV 1.3
+  
+ 
+  
+CSV 1.2
+  
+ 
+  
+CSV 1.1
+  
+ 
+  
+CSV 1.0
+  
+ 
+  
+Project Documentation
+   


 
+  
+Project Information
+
+  
+  
+About
+  
+ 
+  
+Summary
+  
+ 
+  
+Team
+  
+ 
+  
+Source Code Management
+  
+ 
+  
+Issue Management
+  
+ 
+  
+Mailing Lists
+  
+ 
+  
+Dependency Information
+  
+   
+  
+Dependencies
+  
+ 
+  
+Dependency Convergence
+ 

svn commit: r1035684 [40/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/comm

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref-test/org/apache/commons/csv/LexerTest.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref-test/org/apache/commons/csv/LexerTest.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref-test/org/apache/commons/csv/LexerTest.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,403 @@
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+
+LexerTest xref
+
+
+
+View 
Javadoc
+1   /*
+2* Licensed to the Apache Software Foundation (ASF) under 
one or more
+3* contributor license agreements.  See the NOTICE file 
distributed with
+4* this work for additional information regarding copyright 
ownership.
+5* The ASF licenses this file to You under the Apache 
License, Version 2.0
+6* (the "License"); you may not use this file except in 
compliance with
+7* the License.  You may obtain a copy of the License 
at
+8*
+9*  http://www.apache.org/licenses/LICENSE-2."; 
target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0
+10   *
+11   * Unless required by applicable law or agreed to in 
writing, software
+12   * distributed under the License is distributed on an "AS 
IS" BASIS,
+13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 
express or implied.
+14   * See the License for the specific language governing 
permissions and
+15   * limitations under the License.
+16   */
+17  
+18  package org.apache.commons.csv;
+19  
+20  import static 
org.apache.commons.csv.Constants.BACKSPACE;
+21  import static 
org.apache.commons.csv.Constants.CR;
+22  import static 
org.apache.commons.csv.Constants.FF;
+23  import static 
org.apache.commons.csv.Constants.LF;
+24  import static 
org.apache.commons.csv.Constants.TAB;
+25  import static 
org.apache.commons.csv.Token.Type.COMMENT;
+26  import static 
org.apache.commons.csv.Token.Type.EOF;
+27  import static 
org.apache.commons.csv.Token.Type.EORECORD;
+28  import static 
org.apache.commons.csv.Token.Type.TOKEN;
+29  import static 
org.apache.commons.csv.TokenMatchers.hasContent;
+30  import static 
org.apache.commons.csv.TokenMatchers.matches;
+31  import static 
org.junit.Assert.assertFalse;
+32  import static 
org.junit.Assert.assertThat;
+33  import static 
org.junit.Assert.assertTrue;
+34  
+35  import java.io.IOException;
+36  import java.io.StringReader;
+37  
+38  import org.junit.Before;
+39  import org.junit.Test;
+40  
+41  /**
+42   *
+43   */
+44  public class 
LexerTest {
+45  
+46  private CSVFormat formatWithEscaping;
+47  
+48  @Before
+49  public void 
setUp() {
+50  
formatWithEscaping = CSVFormat.DEFAULT.withEscape('\\');
+51  }
+52  
+53  private Lexer createLexer(final String input, final CSVFormat format) {
+54  return new 
Lexer(format, new 
ExtendedBufferedReader(new 
StringReader(input)));
+55  }
+56  
+57  @Test
+58  public void 
testSurroundingSpacesAreDeleted() throws 
IOException {
+59  final String code = "noSpaces,  leadingSpaces,trailingSpaces  ,  
surroundingSpaces  ,  ,,";
+60  try (final 
Lexer parser = createLexer(code, 
CSVFormat.DEFAULT.withIgnoreSurroundingSpaces())) {
+61  
assertThat(parser.nextToken(new Token()), 
matches(TOKEN, "noSpaces"));
+62  
assertThat(parser.nextToken(new Token()), 
matches(TOKEN, "leadingSpaces"));
+63  
assertThat(parser.nextToken(new Token()), 
matches(TOKEN, "trailingSpaces"));
+64  
assertThat(parser.nextToken(new Token()), 
matches(TOKEN, "surroundingSpaces"));
+65  
assertThat(parser.nextToken(new Token()), 
matches(TOKEN, ""));
+66  
assertThat(parser.nextToken(new Token()), 
matches(TOKEN, ""));
+67  
assertThat(parser.nextToken(new Token()), 
matches(EOF, ""));
+68  }
+69  }
+70  
+71  @Test
+72  public void 
testSurroundingTabsAreDeleted() throws 
IOException {
+73  final String code = "noTabs,\tleadingTab,trailingTab\t,\tsurroundingTabs\t,\t\t,,";
+74  try (final 
Lexer parser = createLexer(code, 
CSVFormat.DEFAULT.withIgnoreSurroundingSpaces())) {
+75  
assertThat(parser.nextToken(new Token()), 
matches(TOKEN, "noTabs"));
+76  
assertThat(parser.nextToken(new Token()), 
matches(TOKEN, "leadingTab"));
+77  
assertThat(parser.nextToken(new Token()), 
matches(TOKEN, "trailingTab"));
+78  
assertThat(parser.nextToken(new Token()), 
matches(TOKEN, "surroundingTabs"));
+79  
assertThat(parser.nextToken(new Token()), 
matches(TOKEN, ""));
+80  
assertThat(parser.nextToken(new Token()), 
matches(TOKEN, ""));
+81  
assertThat(parser.nextToken(new Token()), 
matches(EOF, ""));
+82  }
+83  }
+84  
+85  @T

svn commit: r1035684 [35/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/comm

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref-test/org/apache/commons/csv/CSVBenchmark.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref-test/org/apache/commons/csv/CSVBenchmark.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref-test/org/apache/commons/csv/CSVBenchmark.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,223 @@
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+
+CSVBenchmark xref
+
+
+
+View 
Javadoc
+1   /*
+2* Licensed to the Apache Software Foundation (ASF) under 
one or more
+3* contributor license agreements.  See the NOTICE file 
distributed with
+4* this work for additional information regarding copyright 
ownership.
+5* The ASF licenses this file to You under the Apache 
License, Version 2.0
+6* (the "License"); you may not use this file except in 
compliance with
+7* the License.  You may obtain a copy of the License 
at
+8*
+9*  http://www.apache.org/licenses/LICENSE-2."; 
target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0
+10   *
+11   * Unless required by applicable law or agreed to in 
writing, software
+12   * distributed under the License is distributed on an "AS 
IS" BASIS,
+13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 
express or implied.
+14   * See the License for the specific language governing 
permissions and
+15   * limitations under the License.
+16   */
+17  
+18  package org.apache.commons.csv;
+19  
+20  import java.io.BufferedReader;
+21  import java.io.File;
+22  import java.io.FileInputStream;
+23  import java.io.IOException;
+24  import java.io.InputStream;
+25  import java.io.StringReader;
+26  import java.util.List;
+27  import java.util.concurrent.TimeUnit;
+28  import java.util.zip.GZIPInputStream;
+29  
+30  import com.generationjava.io.CsvReader;
+31  import org.apache.commons.io.IOUtils;
+32  import org.apache.commons.lang3.StringUtils;
+33  import org.openjdk.jmh.annotations.Benchmark;
+34  import org.openjdk.jmh.annotations.BenchmarkMode;
+35  import org.openjdk.jmh.annotations.Fork;
+36  import org.openjdk.jmh.annotations.Measurement;
+37  import org.openjdk.jmh.annotations.Mode;
+38  import org.openjdk.jmh.annotations.OutputTimeUnit;
+39  import org.openjdk.jmh.annotations.Scope;
+40  import org.openjdk.jmh.annotations.Setup;
+41  import org.openjdk.jmh.annotations.State;
+42  import org.openjdk.jmh.annotations.Threads;
+43  import org.openjdk.jmh.annotations.Warmup;
+44  import org.openjdk.jmh.infra.Blackhole;
+45  import org.supercsv.io.CsvListReader;
+46  import org.supercsv.prefs.CsvPreference;
+47  
+48  
@BenchmarkMode(Mode.AverageTime)
+49  @Fork(value = 1, 
jvmArgs = {"-server", "-Xms1024M", "-Xmx1024M"})
+50  @Threads(1)
+51  @Warmup(iterations = 
5)
+52  
@Measurement(iterations = 20)
+53  
@OutputTimeUnit(TimeUnit.MILLISECONDS)
+54  
@State(Scope.Benchmark)
+55  public class 
CSVBenchmark 
{
+56  
+57  private String data;
+58  
+59  /**
+60   * Load the data in memory before running the 
benchmarks, this takes out IO from the results.
+61   */
+62  @Setup
+63  public void 
init() throws IOException {
+64  final File file = new File("src/test/resources/perf/worldcitiespop.txt.gz");
+65  final InputStream in = new GZIPInputStream(new FileInputStream(file));
+66  this.data = IOUtils.toString(in, "ISO-8859-1");
+67  in.close();
+68  }
+69  
+70  private BufferedReader getReader() throws IOException {
+71  return new 
BufferedReader(new StringReader(data));
+72  }
+73  
+74  @Benchmark
+75  public int 
read(final Blackhole bh) throws Exception {
+76  final BufferedReader in = getReader();
+77  int count = 0;
+78  String line;
+79  while ((line = in.readLine()) != null) {
+80  count++;
+81  }
+82  
+83  
bh.consume(count);
+84  in.close();
+85  return count;
+86  }
+87  
+88  @Benchmark
+89  public int 
split(final Blackhole bh) throws Exception {
+90  final BufferedReader in = getReader();
+91  int count = 0;
+92  String line;
+93  while ((line = in.readLine()) != null) {
+94  final String[] values = StringUtils.split(line, 
',');
+95  count += 
values.length;
+96  }
+97  
+98  
bh.consume(count);
+99  in.close();
+100 return count;
+101 }
+102 
+103 @Benchmark
+104 public int 
parseCommonsCSV(final Blackhole bh) 
throws Exception {
+105 final BufferedReader in = getReader();
+106 
+107 final CSVFormat format = 
CSVFormat.DEFAULT.withHeader();
+108 
+109 int count = 0;
+110 for (final 
CSVRecord record : format.pa

svn commit: r1035684 [12/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/comm

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/src-html/org/apache/commons/csv/CSVPrinter.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/src-html/org/apache/commons/csv/CSVPrinter.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/src-html/org/apache/commons/csv/CSVPrinter.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,459 @@
+http://www.w3.org/TR/html4/loose.dtd";>
+
+
+Source code
+
+
+
+
+001/*
+002 * Licensed to the Apache Software 
Foundation (ASF) under one or more
+003 * contributor license agreements.  See 
the NOTICE file distributed with
+004 * this work for additional information 
regarding copyright ownership.
+005 * The ASF licenses this file to You 
under the Apache License, Version 2.0
+006 * (the "License"); you may not use this 
file except in compliance with
+007 * the License.  You may obtain a copy of 
the License at
+008 *
+009 *  
http://www.apache.org/licenses/LICENSE-2.0
+010 *
+011 * Unless required by applicable law or 
agreed to in writing, software
+012 * distributed under the License is 
distributed on an "AS IS" BASIS,
+013 * WITHOUT WARRANTIES OR CONDITIONS OF 
ANY KIND, either express or implied.
+014 * See the License for the specific 
language governing permissions and
+015 * limitations under the License.
+016 */
+017
+018package org.apache.commons.csv;
+019
+020import static 
org.apache.commons.csv.Constants.CR;
+021import static 
org.apache.commons.csv.Constants.LF;
+022import static 
org.apache.commons.csv.Constants.SP;
+023
+024import java.io.Closeable;
+025import java.io.Flushable;
+026import java.io.IOException;
+027import java.sql.ResultSet;
+028import java.sql.SQLException;
+029import java.util.Arrays;
+030
+031/**
+032 * Prints values in a {@link CSVFormat 
CSV format}.
+033 *
+034 * 

Values can be appended to the output by calling the {@link #print(Object)} method. +035 * Values are printed according to {@link String#valueOf(Object)}. +036 * To complete a record the {@link #println()} method has to be called. +037 * Comments can be appended by calling {@link #printComment(String)}. +038 * However a comment will only be written to the output if the {@link CSVFormat} supports comments. +039 *

+040 * +041 *

The printer also supports appending a complete record at once by calling {@link #printRecord(Object...)} +042 * or {@link #printRecord(Iterable)}. +043 * Furthermore {@link #printRecords(Object...)}, {@link #printRecords(Iterable)} and {@link #printRecords(ResultSet)} +044 * methods can be used to print several records at once. +045 *

+046 * +047 *

Example:

+048 * +049 *
+050 * try (CSVPrinter printer = new 
CSVPrinter(new FileWriter("csv.txt"), CSVFormat.EXCEL)) {
+051 * printer.printRecord("id", 
"userName", "firstName", "lastName", "birthday");
+052 * printer.printRecord(1, "john73", 
"John", "Doe", LocalDate.of(1973, 9, 15));
+053 * printer.println();
+054 * printer.printRecord(2, "mary", 
"Mary", "Meyer", LocalDate.of(1985, 3, 29));
+055 * } catch (IOException ex) {
+056 * ex.printStackTrace();
+057 * }
+058 * 
+059 * +060 *

This code will write the following to csv.txt:

+061 *
+062 * 
id,userName,firstName,lastName,birthday
+063 * 1,john73,John,Doe,1973-09-15
+064 *
+065 * 2,mary,Mary,Meyer,1985-03-29
+066 * 
+067 */ +068public final class CSVPrinter implements Flushable, Closeable { +069 +070/** The place that the values get written. */ +071private final Appendable out; +072private final CSVFormat format; +073 +074/** True if we just began a new record. */ +075private boolean newRecord = true; +076 +077/** +078 * Creates a printer that will print values to the given stream following the CSVFormat. +079 *

+080 * Currently, only a pure encapsulation format or a pure escaping format is supported. Hybrid formats (encapsulation +081 * and escaping with a different character) are not supported. +082 *

+083 * +084 * @param out +085 *stream to which to print. Must not be null. +086 * @param format +087 *the CSV format. Must not be null. +088 * @throws IOException +089 * thrown if the optional header cannot be printed. +090 * @throws IllegalArgumentException +091 * thrown if the parameters of the format are inconsistent or if either out or format are null. +092 */ +093public CSVPrinter(final Appendable out, final CSVFormat format) throws IOException { +094Assertions.notNull(out, "out"); +095Assertions.notNull(format, "format"); +096 +097this.out = out; +098this.format = format; +099// TODO: Is it a good idea to do this here instead of on the first call to a print method? +100// It se

svn commit: r1035684 [17/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/comm

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/issue-management.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/issue-management.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/issue-management.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,342 @@
+
+
+http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+  
+
+
+
+
+Commons CSV – Issue Management
+
+  
+  
+
+
+  
+  
+  
+  
+
+  
+  
+
+  
+  http://commons.apache.org/"; id="bannerLeft" 
title="Apache Commons logo">
+   
 
+
+  
+   
 
+
+  
+
+
+  
+
+  http://commons.apache.org/proper/commons-csv/";>Apache Commons CSV 
™
+
+
+Last Published: 25 September 2018
+  | Version: 1.6
+  
+  
+
+  http://www.apachecon.com/"; class="externalLink" 
title="ApacheCon">
+ApacheCon
+  
+  
+  http://www.apache.org"; class="externalLink" 
title="Apache">
+Apache
+  
+  
+  
+Commons
+  
+
+
+
+  
+
+
+
+  
+
+  
+
+
+  Commons CSV
+
+  
+Overview
+  
+ 
+  
+Download
+  
+ 
+  
+User Guide
+  
+ 
+  http://wiki.apache.org/commons/CSV"; 
class="externalLink" title="Wiki">
+Wiki
+  
+ 
+  
+Development
+
+  
+History
+  
+ 
+  
+Mailing Lists
+  
+ 
+  
+Issue Tracking
+  
+ 
+  
+Team
+  
+ 
+  
+Source Repository
+  
+ 
+  
+Javadoc trunk
+  
+ 
+  
+Javadoc 1.6
+  
+ 
+  
+Javadoc 1.5
+  
+ 
+  
+Javadoc 1.4
+  
+ 
+  
+Javadoc 1.3
+  
+ 
+  
+Javadoc 1.2
+  
+ 
+  
+Javadoc 1.1
+  
+ 
+  
+Javadoc 1.0
+  
+ 
+  
+  Site Archives
+
+  
+CSV 1.5
+  
+ 
+  
+CSV 1.4
+  
+ 
+  
+CSV 1.3
+  
+ 
+  
+CSV 1.2
+  
+ 
+  
+CSV 1.1
+  
+ 
+  
+CSV 1.0
+  
+ 
+  
+Project Documentation
+   


 
+  
+Project Information
+
+  
+  
+About
+  
+ 
+  
+Summary
+  
+ 
+  
+Team
+  
+ 
+  
+Source Code Management
+  
+   
+  
+Issue Management
+  
+ 
+  
+Mailing Lists
+  
+ 
+  
+Dependency Information
+  
+ 
+  
+Dependencies
+  
+ 
+  
+Dependency Convergence
+ 

svn commit: r1035684 [46/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/comm

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref/org/apache/commons/csv/CSVPrinter.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref/org/apache/commons/csv/CSVPrinter.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref/org/apache/commons/csv/CSVPrinter.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,400 @@
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+
+CSVPrinter xref
+
+
+
+View 
Javadoc
+1   /*
+2* Licensed to the Apache Software Foundation (ASF) under 
one or more
+3* contributor license agreements.  See the NOTICE file 
distributed with
+4* this work for additional information regarding copyright 
ownership.
+5* The ASF licenses this file to You under the Apache 
License, Version 2.0
+6* (the "License"); you may not use this file except in 
compliance with
+7* the License.  You may obtain a copy of the License 
at
+8*
+9*  http://www.apache.org/licenses/LICENSE-2."; 
target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0
+10   *
+11   * Unless required by applicable law or agreed to in 
writing, software
+12   * distributed under the License is distributed on an "AS 
IS" BASIS,
+13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 
express or implied.
+14   * See the License for the specific language governing 
permissions and
+15   * limitations under the License.
+16   */
+17  
+18  package org.apache.commons.csv;
+19  
+20  import static 
org.apache.commons.csv.Constants.CR;
+21  import static 
org.apache.commons.csv.Constants.LF;
+22  import static 
org.apache.commons.csv.Constants.SP;
+23  
+24  import java.io.Closeable;
+25  import java.io.Flushable;
+26  import java.io.IOException;
+27  import java.sql.ResultSet;
+28  import java.sql.SQLException;
+29  import java.util.Arrays;
+30  
+31  /**
+32   * Prints values in a {@link CSVFormat CSV 
format}.
+33   *
+34   * 

Values can be appended to the output by calling the {@link #print(Object)} method. +35 * Values are printed according to {@link String#valueOf(Object)}. +36 * To complete a record the {@link #println()} method has to be called. +37 * Comments can be appended by calling {@link #printComment(String)}. +38 * However a comment will only be written to the output if the {@link CSVFormat} supports comments. +39 *

+40 * +41 *

The printer also supports appending a complete record at once by calling {@link #printRecord(Object...)} +42 * or {@link #printRecord(Iterable)}. +43 * Furthermore {@link #printRecords(Object...)}, {@link #printRecords(Iterable)} and {@link #printRecords(ResultSet)} +44 * methods can be used to print several records at once. +45 *

+46 * +47 *

Example:

+48 * +49 *
+50   * try (CSVPrinter printer = new CSVPrinter(new 
FileWriter("csv.txt"), CSVFormat.EXCEL)) {
+51   * printer.printRecord("id", "userName", 
"firstName", "lastName", "birthday");
+52   * printer.printRecord(1, "john73", "John", 
"Doe", LocalDate.of(1973, 9, 15));
+53   * printer.println();
+54   * printer.printRecord(2, "mary", "Mary", 
"Meyer", LocalDate.of(1985, 3, 29));
+55   * } catch (IOException ex) {
+56   * ex.printStackTrace();
+57   * }
+58   * 
+59 * +60 *

This code will write the following to csv.txt:

+61 *
+62   * id,userName,firstName,lastName,birthday
+63   * 1,john73,John,Doe,1973-09-15
+64   *
+65   * 2,mary,Mary,Meyer,1985-03-29
+66   * 
+67 */ +68 public final class CSVPrinter implements Flushable, Closeable { +69 +70 /** The place that the values get written. */ +71 private final Appendable out; +72 private final CSVFormat format; +73 +74 /** True if we just began a new record. */ +75 private boolean newRecord = true; +76 +77 /** +78 * Creates a printer that will print values to the given stream following the CSVFormat. +79 *

+80 * Currently, only a pure encapsulation format or a pure escaping format is supported. Hybrid formats (encapsulation +81 * and escaping with a different character) are not supported. +82 *

+83 * +84 * @param out +85 *stream to which to print. Must not be null. +86 * @param format +87 *the CSV format. Must not be null. +88 * @throws IOException +89 * thrown if the optional header cannot be printed. +90 * @throws IllegalArgumentException +91 * thrown if the parameters of the format are inconsistent or if either out or format are null. +92 */ +93 public CSVPrinter(final Appendable out, final CSVFormat format) throws IOException { +94 Assertions.notNull(out, "out"); +95 Assertions.no

svn commit: r1035684 [26/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/comm

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/jacoco/org.apache.commons.csv/Lexer.java.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/jacoco/org.apache.commons.csv/Lexer.java.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/jacoco/org.apache.commons.csv/Lexer.java.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,462 @@
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>http://www.w3.org/1999/xhtml"; lang="en">Lexer.javaSessionsApache Commons CSV > org.apache.commons.csv > Lexer.javaLexer.java/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance 
with
+ * the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.commons.csv;
+
+import static org.apache.commons.csv.Constants.BACKSPACE;
+import static org.apache.commons.csv.Constants.CR;
+import static org.apache.commons.csv.Constants.END_OF_STREAM;
+import static org.apache.commons.csv.Constants.FF;
+import static org.apache.commons.csv.Constants.LF;
+import static org.apache.commons.csv.Constants.TAB;
+import static org.apache.commons.csv.Constants.UNDEFINED;
+import static org.apache.commons.csv.Token.Type.COMMENT;
+import static org.apache.commons.csv.Token.Type.EOF;
+import static org.apache.commons.csv.Token.Type.EORECORD;
+import static org.apache.commons.csv.Token.Type.INVALID;
+import static org.apache.commons.csv.Token.Type.TOKEN;
+
+import java.io.Closeable;
+import java.io.IOException;
+
+/**
+ * Lexical analyzer.
+ */
+final class Lexer implements Closeable {
+
+private static final String CR_STRING = 
Character.toString(CR);
+private static final String LF_STRING = 
Character.toString(LF);
+
+/**
+ * Constant char to use for disabling comments, escapes and encapsulation. 
The value -2 is used because it
+ * won't be confused with an EOF signal (-1), and because the Unicode 
value {@code FFFE} would be encoded as two
+ * chars (using surrogates) and thus there should never be a collision 
with a real text char.
+ */
+private static final char DISABLED = '\ufffe';
+
+private final char delimiter;
+private final char escape;
+private final char quoteChar;
+private final char commentStart;
+
+private final boolean ignoreSurroundingSpaces;
+private final boolean ignoreEmptyLines;
+
+/** The input stream */
+private final ExtendedBufferedReader reader;
+private String firstEol;
+
+String getFirstEol(){
+return firstEol;
+}
+
+Lexer(final CSVFormat format, final 
ExtendedBufferedReader reader) {
+this.reader = reader;
+this.delimiter = 
format.getDelimiter();
+this.escape = 
mapNullToDisabled(format.getEscapeCharacter());
+this.quoteChar = 
mapNullToDisabled(format.getQuoteCharacter());
+this.commentStart = 
mapNullToDisabled(format.getCommentMarker());
+this.ignoreSurroundingSpaces = 
format.getIgnoreSurroundingSpaces();
+this.ignoreEmptyLines = 
format.getIgnoreEmptyLines();
+}
+
+/**
+ * Returns the next token.
+ * 

+ * A token corresponds to a term, a record change or an end-of-file indicator. + *

+ * + * @param token + *an existing Token object to reuse. The caller is responsible to initialize the Token. + * @return the next token found + * @throws java.io.IOException + * on stream access error + */ +Token nextToken(final Token token) throws IOException { + +// get the last read char (required for empty line detection) +int lastChar = reader.getLastChar(); + +// read the next char and set eol +int c = reader.read(); +/* + * Note: The following call will swallow LF if c == CR. But we don't need to know if the last char was CR or LF + * - they are equivalent here. + */ +boolean eol = readEndOfLine(c); + +// empty line detection: eol AND (last char was EOL or beginning) +if (ignoreEmptyLines) { + while (eol && isStartOfLine(lastChar)) { +// go on char ahead ... +lastChar = c; +c = reader.read(); +

svn commit: r1035684 [14/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/comm

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/css/bootstrap-1.3.0.min.css
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/css/bootstrap-1.3.0.min.css
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/css/bootstrap-1.3.0.min.css
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,330 @@
+html,body{margin:0;padding:0;}
+h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,cite,code,del,dfn,em,img,q,s,samp,small,strike,strong,sub,sup,tt,var,dd,dl,dt,li,ol,ul,fieldset,form,label,legend,button,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;font-weight:normal;font-style:normal;font-size:100%;line-height:1;font-family:inherit;}
+table{border-collapse:collapse;border-spacing:0;}
+ol,ul{list-style:none;}
+q:before,q:after,blockquote:before,blockquote:after{content:"";}
+html{overflow-y:scroll;font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;}
+a:focus{outline:thin dotted;}
+a:hover,a:active{outline:0;}
+article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block;}
+audio,canvas,video{display:inline-block;*display:inline;*zoom:1;}
+audio:not([controls]){display:none;}
+sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}
+sup{top:-0.5em;}
+sub{bottom:-0.25em;}
+img{border:0;-ms-interpolation-mode:bicubic;}
+button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle;}
+button,input{line-height:normal;*overflow:visible;}
+button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}
+button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button;}
+input[type="search"]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;}
+input[type="search"]::-webkit-search-decoration{-webkit-appearance:none;}
+textarea{overflow:auto;vertical-align:top;}
+html,body{background-color:#ff;}
+body{margin:0;font-family:"Helvetica 
Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:normal;line-height:18px;color:#404040;}
+.container{width:940px;margin-left:auto;margin-right:auto;zoom:1;}.container:before,.container:after{display:table;content:"";zoom:1;*display:inline;}
+.container:after{clear:both;}
+.container-fluid{position:relative;min-width:940px;padding-left:20px;padding-right:20px;zoom:1;}.container-fluid:before,.container-fluid:after{display:table;content:"";zoom:1;*display:inline;}
+.container-fluid:after{clear:both;}
+.container-fluid>.sidebar{float:left;width:220px;}
+.container-fluid>.content{margin-left:240px;}
+a{color:#0069d6;text-decoration:none;line-height:inherit;font-weight:inherit;}a:hover{color:#00438a;text-decoration:underline;}
+.pull-right{float:right;}
+.pull-left{float:left;}
+.hide{display:none;}
+.show{display:block;}
+.row{zoom:1;margin-left:-20px;}.row:before,.row:after{display:table;content:"";zoom:1;*display:inline;}
+.row:after{clear:both;}
+[class*="span"]{display:inline;float:left;margin-left:20px;}
+.span1{width:40px;}
+.span2{width:100px;}
+.span3{width:160px;}
+.span4{width:220px;}
+.span5{width:280px;}
+.span6{width:340px;}
+.span7{width:400px;}
+.span8{width:460px;}
+.span9{width:520px;}
+.span10{width:580px;}
+.span11{width:640px;}
+.span12{width:700px;}
+.span13{width:760px;}
+.span14{width:820px;}
+.span15{width:880px;}
+.span16{width:940px;}
+.span17{width:1000px;}
+.span18{width:1060px;}
+.span19{width:1120px;}
+.span20{width:1180px;}
+.span21{width:1240px;}
+.span22{width:1300px;}
+.span23{width:1360px;}
+.span24{width:1420px;}
+.offset1{margin-left:80px;}
+.offset2{margin-left:140px;}
+.offset3{margin-left:200px;}
+.offset4{margin-left:260px;}
+.offset5{margin-left:320px;}
+.offset6{margin-left:380px;}
+.offset7{margin-left:440px;}
+.offset8{margin-left:500px;}
+.offset9{margin-left:560px;}
+.offset10{margin-left:620px;}
+.offset11{margin-left:680px;}
+.offset12{margin-left:740px;}
+.span-one-third{width:300px;}
+.span-two-thirds{width:620px;}
+.offset-one-third{margin-left:340px;}
+.offset-two-thirds{margin-left:660px;}
+p{font-size:13px;font-weight:normal;line-height:18px;margin-bottom:9px;}p 
small{font-size:11px;color:#bfbfbf;}
+h1,h2,h3,h4,h5,h6{font-weight:bold;color:#404040;}h1 small,h2 small,h3 
small,h4 small,h5 small,h6 small{color:#bfbfbf;}
+h1{margin-bottom:18px;font-size:30px;line-height:36px;}h1 
small{font-size:18px;}
+h2{font-size:24px;line-height:36px;}h2 small{font-size:14px;}
+h3,h4,h5,h6{line-height:36px;}
+h3{font-size:18px;}h3 small{font-size:14px;}
+h4{font-size:16px;}h4 small{font-size:12px;}
+h5{font-size:14px;}
+h6{font-size:13px;color:#bfbfbf;text-transform:uppercase;}
+ul,ol{margin:0 0 18px 25px;}
+ul ul,ul ol,ol ol,ol ul{margin-bottom:0;}
+ul{list-style:disc;}
+ol{list-style:decimal;}
+li{line-height:18px;color:#808080;}
+ul.unstyled{list-style:none;

svn commit: r1035684 [44/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/comm

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref/org/apache/commons/csv/CSVFormat.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref/org/apache/commons/csv/CSVFormat.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref/org/apache/commons/csv/CSVFormat.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,2055 @@
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+
+CSVFormat xref
+
+
+
+View 
Javadoc
+1   /*
+2* Licensed to the Apache Software Foundation (ASF) under 
one or more
+3* contributor license agreements.  See the NOTICE file 
distributed with
+4* this work for additional information regarding copyright 
ownership.
+5* The ASF licenses this file to You under the Apache 
License, Version 2.0
+6* (the "License"); you may not use this file except in 
compliance with
+7* the License.  You may obtain a copy of the License 
at
+8*
+9*  http://www.apache.org/licenses/LICENSE-2."; 
target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0
+10   *
+11   * Unless required by applicable law or agreed to in 
writing, software
+12   * distributed under the License is distributed on an "AS 
IS" BASIS,
+13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 
express or implied.
+14   * See the License for the specific language governing 
permissions and
+15   * limitations under the License.
+16   */
+17  
+18  package org.apache.commons.csv;
+19  
+20  import static 
org.apache.commons.csv.Constants.BACKSLASH;
+21  import static 
org.apache.commons.csv.Constants.COMMA;
+22  import static 
org.apache.commons.csv.Constants.COMMENT;
+23  import static 
org.apache.commons.csv.Constants.EMPTY;
+24  import static 
org.apache.commons.csv.Constants.CR;
+25  import static 
org.apache.commons.csv.Constants.CRLF;
+26  import static 
org.apache.commons.csv.Constants.DOUBLE_QUOTE_CHAR;
+27  import static 
org.apache.commons.csv.Constants.LF;
+28  import static 
org.apache.commons.csv.Constants.PIPE;
+29  import static 
org.apache.commons.csv.Constants.SP;
+30  import static 
org.apache.commons.csv.Constants.TAB;
+31  
+32  import java.io.File;
+33  import java.io.FileOutputStream;
+34  import java.io.IOException;
+35  import java.io.OutputStreamWriter;
+36  import java.io.Reader;
+37  import java.io.Serializable;
+38  import java.io.StringWriter;
+39  import java.nio.charset.Charset;
+40  import java.nio.file.Files;
+41  import java.nio.file.Path;
+42  import java.sql.ResultSet;
+43  import java.sql.ResultSetMetaData;
+44  import java.sql.SQLException;
+45  import java.util.Arrays;
+46  import java.util.HashSet;
+47  import java.util.Set;
+48  
+49  /**
+50   * Specifies the format of a CSV file and parses 
input.
+51   *
+52   * 

Using predefined formats

+53 * +54 *

+55 * You can use one of the predefined formats: +56 *

+57 * +58 *
    +59 *
  • {@link #DEFAULT}
  • +60 *
  • {@link #EXCEL}
  • +61 *
  • {@link #INFORMIX_UNLOAD}
  • +62 *
  • {@link #INFORMIX_UNLOAD_CSV}
  • +63 *
  • {@link #MYSQL}
  • +64 *
  • {@link #RFC4180}
  • +65 *
  • {@link #ORACLE}
  • +66 *
  • {@link #POSTGRESQL_CSV}
  • +67 *
  • {@link #POSTGRESQL_TEXT}
  • +68 *
  • {@link #TDF}
  • +69 *
+70 * +71 *

+72 * For example: +73 *

+74 * +75 *
+76   * CSVParser parser = 
CSVFormat.EXCEL.parse(reader);
+77   * 
+78 * +79 *

+80 * The {@link CSVParser} provides static methods to parse other input types, for example: +81 *

+82 * +83 *
+84   * CSVParser parser = CSVParser.parse(file, 
StandardCharsets.US_ASCII, CSVFormat.EXCEL);
+85   * 
+86 * +87 *

Defining formats

+88 * +89 *

+90 * You can extend a format by calling the {@code with} methods. For example: +91 *

+92 * +93 *
+94   * 
CSVFormat.EXCEL.withNullString("N/A").withIgnoreSurroundingSpaces(true);
+95   * 
+96 * +97 *

Defining column names

+98 * +99 *

+100 * To define the column names you want to use to access records, write: +101 *

+102 * +103 *
+104  * 
CSVFormat.EXCEL.withHeader("Col1", "Col2", 
"Col3");
+105  * 
+106 * +107 *

+108 * Calling {@link #withHeader(String...)} let's you use the given names to address values in a {@link CSVRecord}, and +109 * assumes that your CSV source does not contain a first record that also defines column names. +110 * +111 * If it does, then you are overriding this metadata with your names and you should skip the first record by calling +112 * {@link #withSkipHeaderRecord(boolean)} with {@code true}. +113 *

+114 * +115 *

Parsing

+116 * +117 *

+118 * You can use a format directly


svn commit: r1035687 - in /websites/production/commons/content: ./ dormant/ proper/ sandbox/

2018-09-25 Thread britter
Author: britter
Date: Tue Sep 25 13:30:34 2018
New Revision: 1035687

Log:
Publishing svnmucc operation to commons site by britter

Added:
websites/production/commons/content/
  - copied from r1035684, websites/staging/commons/trunk/content/
websites/production/commons/content/dormant/
  - copied from r1035684, websites/production/commons/content/dormant/
websites/production/commons/content/proper/
  - copied from r1035684, websites/production/commons/content/proper/
websites/production/commons/content/sandbox/
  - copied from r1035684, websites/production/commons/content/sandbox/



svn commit: r1035684 [3/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/commo

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/apache/commons/csv/CSVFormat.Predefined.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/apache/commons/csv/CSVFormat.Predefined.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/apache/commons/csv/CSVFormat.Predefined.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,511 @@
+http://www.w3.org/TR/html4/loose.dtd";>
+
+
+
+
+
+CSVFormat.Predefined (Apache Commons CSV 1.6 API)
+
+
+
+
+
+var methods = {"i0":10,"i1":9,"i2":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static 
Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+Skip navigation links
+
+
+
+
+Package
+Class
+Use
+Tree
+Deprecated
+Index
+Help
+
+
+
+
+Prev Class
+Next Class
+
+
+Frames
+No Frames
+
+
+All Classes
+
+
+
+
+
+
+
+Summary: 
+Nested | 
+Enum Constants | 
+Field | 
+Method
+
+
+Detail: 
+Enum Constants | 
+Field | 
+Method
+
+
+
+
+
+
+
+
+org.apache.commons.csv
+Enum 
CSVFormat.Predefined
+
+
+
+https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">java.lang.Object
+
+
+https://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true";
 title="class or interface in java.lang">java.lang.Enum
+
+
+org.apache.commons.csv.CSVFormat.Predefined
+
+
+
+
+
+
+
+
+
+All Implemented Interfaces:
+https://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true";
 title="class or interface in java.io">Serializable, https://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true";
 title="class or interface in java.lang">Comparable
+
+
+Enclosing class:
+CSVFormat
+
+
+
+public static enum CSVFormat.Predefined
+extends https://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true";
 title="class or interface in java.lang">Enum
+Predefines formats.
+
+Since:
+1.2
+
+
+
+
+
+
+
+
+
+
+
+
+Enum Constant Summary
+
+Enum Constants 
+
+Enum Constant and Description
+
+
+Default 
+
+
+Excel 
+
+
+InformixUnload 
+
+
+InformixUnloadCsv 
+
+
+MySQL 
+
+
+Oracle 
+
+
+PostgreSQLCsv 
+
+
+PostgreSQLText 
+
+
+RFC4180 
+
+
+TDF 
+
+
+
+
+
+
+
+
+
+Method Summary
+
+All Methods Static Methods Instance Methods Concrete Methods 
+
+Modifier and Type
+Method and Description
+
+
+CSVFormat
+getFormat()
+Gets the format.
+
+
+
+static CSVFormat.Predefined
+valueOf(https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String name)
+Returns the enum constant of this type with the specified 
name.
+
+
+
+static CSVFormat.Predefined[]
+values()
+Returns an array containing the constants of this enum 
type, in
+the order they are declared.
+
+
+
+
+
+
+
+Methods inherited from class java.lang.https://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true";
 title="class or interface in java.lang">Enum
+https://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#clone--";
 title="class or interface in java.lang">clone, https://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#compareTo-E-";
 title="class or interface in java.lang">compareTo, https://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#equals-java.lang.Object-";
 title="class or interface in java.lang">equals, https://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#finalize--";
 title="class or interface in java.lang">finalize, https://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#getDeclaringClass--";
 title="class or interface in java.lang">getDeclaringClass, https://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#hashCode--";
 title="class or interface in java.lang">hashCode, https://docs.oracle.com/javase/
 7/docs/api/java/lang/Enum.html?is-external=true#name--" title="class or 
interface in java.lang">name, https://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#ordinal--";
 title="class or interface in java.lang">ordinal, https://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-externa

svn commit: r1035684 [20/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/comm

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/jacoco/jacoco-resources/prettify.js
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/jacoco/jacoco-resources/prettify.js
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/jacoco/jacoco-resources/prettify.js
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,1510 @@
+// Copyright (C) 2006 Google Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+//  http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+
+/**
+ * @fileoverview
+ * some functions for browser-side pretty printing of code contained in html.
+ * 
+ *
+ * For a fairly comprehensive set of languages see the
+ * http://google-code-prettify.googlecode.com/svn/trunk/README.html#langs";>README
+ * file that came with this source.  At a minimum, the lexer should work on a
+ * number of languages including C and friends, Java, Python, Bash, SQL, HTML,
+ * XML, CSS, Javascript, and Makefiles.  It works passably on Ruby, PHP and Awk
+ * and a subset of Perl, but, because of commenting conventions, doesn't work 
on
+ * Smalltalk, Lisp-like, or CAML-like languages without an explicit lang class.
+ * 
+ * Usage: 
+ *  include this source file in an html page via
+ *   {@code }
+ *  define style rules.  See the example page for examples.
+ *  mark the {@code } and {@code } tags in your source with
+ *{@code class=prettyprint.}
+ *You can also use the (html deprecated) {@code } tag, but the pretty
+ *printer needs to do more substantial DOM manipulations to support that, 
so
+ *some css styles may not be preserved.
+ * 
+ * That's it.  I wanted to keep the API as simple as possible, so there's no
+ * need to specify which language the code is in, but if you wish, you can add
+ * another class to the {@code } or {@code } element to specify the
+ * language, as in {@code }.  Any class that
+ * starts with "lang-" followed by a file extension, specifies the file type.
+ * See the "lang-*.js" files in this directory for code that implements
+ * per-language file handlers.
+ * 
+ * Change log:
+ * cbeust, 2006/08/22
+ * 
+ *   Java annotations (start with "@") are now captured as literals ("lit")
+ * 
+ * @requires console
+ */
+
+// JSLint declarations
+/*global console, document, navigator, setTimeout, window */
+
+/**
+ * Split {@code prettyPrint} into multiple timeouts so as not to interfere with
+ * UI events.
+ * If set to {@code false}, {@code prettyPrint()} is synchronous.
+ */
+window['PR_SHOULD_USE_CONTINUATION'] = true;
+
+/** the number of characters between tab columns */
+window['PR_TAB_WIDTH'] = 8;
+
+/** Walks the DOM returning a properly escaped version of innerHTML.
+  * @param {Node} node
+  * @param {Array.} out output buffer that receives chunks of HTML.
+  */
+window['PR_normalizedHtml']
+
+/** Contains functions for creating and registering new language handlers.
+  * @type {Object}
+  */
+  = window['PR']
+
+/** Pretty print a chunk of code.
+  *
+  * @param {string} sourceCodeHtml code as html
+  * @return {string} code as html, but prettier
+  */
+  = window['prettyPrintOne']
+/** Find all the {@code } and {@code } tags in the DOM with
+  * {@code class=prettyprint} and prettify them.
+  * @param {Function?} opt_whenDone if specified, called when the last entry
+  * has been finished.
+  */
+  = window['prettyPrint'] = void 0;
+
+/** browser detection. @extern @returns false if not IE, otherwise the major 
version. */
+window['_pr_isIE6'] = function () {
+  var ieVersion = navigator && navigator.userAgent &&
+  navigator.userAgent.match(/\bMSIE ([678])\./);
+  ieVersion = ieVersion ? +ieVersion[1] : false;
+  window['_pr_isIE6'] = function () { return ieVersion; };
+  return ieVersion;
+};
+
+
+(function () {
+  // Keyword lists for various languages.
+  var FLOW_CONTROL_KEYWORDS =
+  "break continue do else for if return while ";
+  var C_KEYWORDS = FLOW_CONTROL_KEYWORDS + "auto case char const default " +
+  "double enum extern float goto int long register short signed sizeof " +
+  "static struct switch typedef union unsigned void volatile ";
+  var COMMON_KEYWORDS = C_KEYWORDS + "catch class delete false import " +
+  "new operator private protected public this throw true try typeof ";
+  var CPP_KEYWORDS = COMMON_KEYWORDS + "alignof align_union asm axiom bool " +
+  "concept concept_map const_cast constexpr decltype " +
+  "dynamic_c

svn commit: r1035684 [11/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/comm

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/src-html/org/apache/commons/csv/CSVParser.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/src-html/org/apache/commons/csv/CSVParser.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/src-html/org/apache/commons/csv/CSVParser.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,701 @@
+http://www.w3.org/TR/html4/loose.dtd";>
+
+
+Source code
+
+
+
+
+001/*
+002 * Licensed to the Apache Software 
Foundation (ASF) under one or more
+003 * contributor license agreements.  See 
the NOTICE file distributed with
+004 * this work for additional information 
regarding copyright ownership.
+005 * The ASF licenses this file to You 
under the Apache License, Version 2.0
+006 * (the "License"); you may not use this 
file except in compliance with
+007 * the License.  You may obtain a copy of 
the License at
+008 *
+009 *  
http://www.apache.org/licenses/LICENSE-2.0
+010 *
+011 * Unless required by applicable law or 
agreed to in writing, software
+012 * distributed under the License is 
distributed on an "AS IS" BASIS,
+013 * WITHOUT WARRANTIES OR CONDITIONS OF 
ANY KIND, either express or implied.
+014 * See the License for the specific 
language governing permissions and
+015 * limitations under the License.
+016 */
+017
+018package org.apache.commons.csv;
+019
+020import static 
org.apache.commons.csv.Token.Type.TOKEN;
+021
+022import java.io.Closeable;
+023import java.io.File;
+024import java.io.FileInputStream;
+025import java.io.IOException;
+026import java.io.InputStream;
+027import java.io.InputStreamReader;
+028import java.io.Reader;
+029import java.io.StringReader;
+030import java.net.URL;
+031import java.nio.charset.Charset;
+032import java.nio.file.Files;
+033import java.nio.file.Path;
+034import java.util.ArrayList;
+035import java.util.Arrays;
+036import java.util.Iterator;
+037import java.util.LinkedHashMap;
+038import java.util.List;
+039import java.util.Map;
+040import 
java.util.NoSuchElementException;
+041import java.util.TreeMap;
+042
+043/**
+044 * Parses CSV files according to the 
specified format.
+045 *
+046 * Because CSV appears in many different 
dialects, the parser supports many formats by allowing the
+047 * specification of a {@link 
CSVFormat}.
+048 *
+049 * The parser works record wise. It is 
not possible to go back, once a record has been parsed from the input stream.
+050 *
+051 * 

Creating instances

+052 *

+053 * There are several static factory methods that can be used to create instances for various types of resources: +054 *

+055 *
    +056 *
  • {@link #parse(java.io.File, Charset, CSVFormat)}
  • +057 *
  • {@link #parse(String, CSVFormat)}
  • +058 *
  • {@link #parse(java.net.URL, java.nio.charset.Charset, CSVFormat)}
  • +059 *
+060 *

+061 * Alternatively parsers can also be created by passing a {@link Reader} directly to the sole constructor. +062 * +063 * For those who like fluent APIs, parsers can be created using {@link CSVFormat#parse(java.io.Reader)} as a shortcut: +064 *

+065 *
+066 * for(CSVRecord record : 
CSVFormat.EXCEL.parse(in)) {
+067 * ...
+068 * }
+069 * 
+070 * +071 *

Parsing record wise

+072 *

+073 * To parse a CSV input from a file, you write: +074 *

+075 * +076 *
+077 * File csvData = new 
File("/path/to/csv");
+078 * CSVParser parser = 
CSVParser.parse(csvData, CSVFormat.RFC4180);
+079 * for (CSVRecord csvRecord : parser) {
+080 * ...
+081 * }
+082 * 
+083 * +084 *

+085 * This will read the parse the contents of the file using the +086 * RFC 4180 format. +087 *

+088 * +089 *

+090 * To parse CSV input in a format like Excel, you write: +091 *

+092 * +093 *
+094 * CSVParser parser = 
CSVParser.parse(csvData, CSVFormat.EXCEL);
+095 * for (CSVRecord csvRecord : parser) {
+096 * ...
+097 * }
+098 * 
+099 * +100 *

+101 * If the predefined formats don't match the format at hands, custom formats can be defined. More information about +102 * customising CSVFormats is available in {@link CSVFormat CSVFormat Javadoc}. +103 *

+104 * +105 *

Parsing into memory

+106 *

+107 * If parsing record wise is not desired, the contents of the input can be read completely into memory. +108 *

+109 * +110 *
+111 * Reader in = new 
StringReader("a;b\nc;d");
+112 * CSVParser parser = new CSVParser(in, 
CSVFormat.EXCEL);
+113 * List<CSVRecord> list = 
parser.getRecords();
+114 * 
+115 * +116 *

+117 * There are two constraints that have to be kept in mind: +118 *

+119 * +120 *
    +121 *
  1. Parsing into memory starts at the current position of the parser. If

svn commit: r1035684 [1/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/commo

2018-09-25 Thread britter
Author: britter
Date: Tue Sep 25 13:26:18 2018
New Revision: 1035684

Log:
Add site archive for 1.6 release

Added:
websites/production/commons/content/proper/commons-csv/archives/1.6/
websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/allclasses-frame.html

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/allclasses-noframe.html

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/constant-values.html

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/deprecated-list.html

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/help-doc.html

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/index-all.html

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/index.html

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/apache/

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/apache/commons/

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/apache/commons/csv/

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/apache/commons/csv/CSVFormat.Predefined.html

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/apache/commons/csv/CSVFormat.html

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/apache/commons/csv/CSVParser.html

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/apache/commons/csv/CSVPrinter.html

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/apache/commons/csv/CSVRecord.html

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/apache/commons/csv/QuoteMode.html

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/apache/commons/csv/class-use/

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/apache/commons/csv/class-use/CSVFormat.Predefined.html

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/apache/commons/csv/class-use/CSVFormat.html

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/apache/commons/csv/class-use/CSVParser.html

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/apache/commons/csv/class-use/CSVPrinter.html

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/apache/commons/csv/class-use/CSVRecord.html

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/apache/commons/csv/class-use/QuoteMode.html

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/apache/commons/csv/package-frame.html

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/apache/commons/csv/package-summary.html

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/apache/commons/csv/package-tree.html

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/apache/commons/csv/package-use.html

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/overview-tree.html

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/package-list

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/script.js

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/serialized-form.html

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/src-html/

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/src-html/org/

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/src-html/org/apache/

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/src-html/org/apache/commons/

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/src-html/org/apache/commons/csv/

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/src-html/org/apache/commons/csv/CSVFormat.Predefined.html

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/src-html/org/apache/commons/csv/CSVFormat.html

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/src-html/org/apache/commons/csv/CSVParser.html

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/src-html/org/apache/commons/csv/CSVPrinter.html

websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/src-html/org/apache

svn commit: r1035684 [9/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/commo

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/src-html/org/apache/commons/csv/CSVFormat.Predefined.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/src-html/org/apache/commons/csv/CSVFormat.Predefined.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/src-html/org/apache/commons/csv/CSVFormat.Predefined.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,2114 @@
+http://www.w3.org/TR/html4/loose.dtd";>
+
+
+Source code
+
+
+
+
+001/*
+002 * Licensed to the Apache Software 
Foundation (ASF) under one or more
+003 * contributor license agreements.  See 
the NOTICE file distributed with
+004 * this work for additional information 
regarding copyright ownership.
+005 * The ASF licenses this file to You 
under the Apache License, Version 2.0
+006 * (the "License"); you may not use this 
file except in compliance with
+007 * the License.  You may obtain a copy of 
the License at
+008 *
+009 *  
http://www.apache.org/licenses/LICENSE-2.0
+010 *
+011 * Unless required by applicable law or 
agreed to in writing, software
+012 * distributed under the License is 
distributed on an "AS IS" BASIS,
+013 * WITHOUT WARRANTIES OR CONDITIONS OF 
ANY KIND, either express or implied.
+014 * See the License for the specific 
language governing permissions and
+015 * limitations under the License.
+016 */
+017
+018package org.apache.commons.csv;
+019
+020import static 
org.apache.commons.csv.Constants.BACKSLASH;
+021import static 
org.apache.commons.csv.Constants.COMMA;
+022import static 
org.apache.commons.csv.Constants.COMMENT;
+023import static 
org.apache.commons.csv.Constants.EMPTY;
+024import static 
org.apache.commons.csv.Constants.CR;
+025import static 
org.apache.commons.csv.Constants.CRLF;
+026import static 
org.apache.commons.csv.Constants.DOUBLE_QUOTE_CHAR;
+027import static 
org.apache.commons.csv.Constants.LF;
+028import static 
org.apache.commons.csv.Constants.PIPE;
+029import static 
org.apache.commons.csv.Constants.SP;
+030import static 
org.apache.commons.csv.Constants.TAB;
+031
+032import java.io.File;
+033import java.io.FileOutputStream;
+034import java.io.IOException;
+035import java.io.OutputStreamWriter;
+036import java.io.Reader;
+037import java.io.Serializable;
+038import java.io.StringWriter;
+039import java.nio.charset.Charset;
+040import java.nio.file.Files;
+041import java.nio.file.Path;
+042import java.sql.ResultSet;
+043import java.sql.ResultSetMetaData;
+044import java.sql.SQLException;
+045import java.util.Arrays;
+046import java.util.HashSet;
+047import java.util.Set;
+048
+049/**
+050 * Specifies the format of a CSV file and 
parses input.
+051 *
+052 * 

Using predefined formats

+053 * +054 *

+055 * You can use one of the predefined formats: +056 *

+057 * +058 *
    +059 *
  • {@link #DEFAULT}
  • +060 *
  • {@link #EXCEL}
  • +061 *
  • {@link #INFORMIX_UNLOAD}
  • +062 *
  • {@link #INFORMIX_UNLOAD_CSV}
  • +063 *
  • {@link #MYSQL}
  • +064 *
  • {@link #RFC4180}
  • +065 *
  • {@link #ORACLE}
  • +066 *
  • {@link #POSTGRESQL_CSV}
  • +067 *
  • {@link #POSTGRESQL_TEXT}
  • +068 *
  • {@link #TDF}
  • +069 *
+070 * +071 *

+072 * For example: +073 *

+074 * +075 *
+076 * CSVParser parser = 
CSVFormat.EXCEL.parse(reader);
+077 * 
+078 * +079 *

+080 * The {@link CSVParser} provides static methods to parse other input types, for example: +081 *

+082 * +083 *
+084 * CSVParser parser = 
CSVParser.parse(file, StandardCharsets.US_ASCII, CSVFormat.EXCEL);
+085 * 
+086 * +087 *

Defining formats

+088 * +089 *

+090 * You can extend a format by calling the {@code with} methods. For example: +091 *

+092 * +093 *
+094 * 
CSVFormat.EXCEL.withNullString("N/A").withIgnoreSurroundingSpaces(true);
+095 * 
+096 * +097 *

Defining column names

+098 * +099 *

+100 * To define the column names you want to use to access records, write: +101 *

+102 * +103 *
+104 * 
CSVFormat.EXCEL.withHeader("Col1", "Col2", 
"Col3");
+105 * 
+106 * +107 *

+108 * Calling {@link #withHeader(String...)} let's you use the given names to address values in a {@link CSVRecord}, and +109 * assumes that your CSV source does not contain a first record that also defines column names. +110 * +111 * If it does, then you are overriding this metadata with your names and you should skip the first record by calling +112 * {@link #withSkipHeaderRecord(boolean)} with {@code true}. +113 *

+114 * +115 *

Parsing

+116 * +117 *

+118 * You can use a format directly to parse a reader. For example, to parse an Excel file with columns header, write: +119 *

+120 * +121 *
+122 * Reader in = ...;
+123 * 
CSVFormat.EXCEL.withHeader("Col1", "

svn commit: r1035684 [5/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/commo

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/apache/commons/csv/CSVParser.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/apache/commons/csv/CSVParser.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/apache/commons/csv/CSVParser.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,835 @@
+http://www.w3.org/TR/html4/loose.dtd";>
+
+
+
+
+
+CSVParser (Apache Commons CSV 1.6 API)
+
+
+
+
+
+var methods = 
{"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static 
Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+Skip navigation links
+
+
+
+
+Package
+Class
+Use
+Tree
+Deprecated
+Index
+Help
+
+
+
+
+Prev Class
+Next Class
+
+
+Frames
+No Frames
+
+
+All Classes
+
+
+
+
+
+
+
+Summary: 
+Nested | 
+Field | 
+Constr | 
+Method
+
+
+Detail: 
+Field | 
+Constr | 
+Method
+
+
+
+
+
+
+
+
+org.apache.commons.csv
+Class CSVParser
+
+
+
+https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">java.lang.Object
+
+
+org.apache.commons.csv.CSVParser
+
+
+
+
+
+
+
+All Implemented Interfaces:
+https://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true";
 title="class or interface in java.io">Closeable, https://docs.oracle.com/javase/7/docs/api/java/lang/AutoCloseable.html?is-external=true";
 title="class or interface in java.lang">AutoCloseable, https://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true";
 title="class or interface in java.lang">Iterable
+
+
+
+public final class CSVParser
+extends https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object
+implements https://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true";
 title="class or interface in java.lang">Iterable, https://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true";
 title="class or interface in java.io">Closeable
+Parses CSV files according to the specified format.
+
+ Because CSV appears in many different dialects, the parser supports many 
formats by allowing the
+ specification of a CSVFormat.
+
+ The parser works record wise. It is not possible to go back, once a record 
has been parsed from the input stream.
+
+ Creating instances
+ 
+ There are several static factory methods that can be used to create instances 
for various types of resources:
+ 
+ 
+ parse(java.io.File,
 Charset, CSVFormat)
+ parse(String,
 CSVFormat)
+ parse(java.net.URL,
 java.nio.charset.Charset, CSVFormat)
+ 
+ 
+ Alternatively parsers can also be created by passing a https://docs.oracle.com/javase/7/docs/api/java/io/Reader.html?is-external=true";
 title="class or interface in java.io">Reader directly to the 
sole constructor.
+
+ For those who like fluent APIs, parsers can be created using CSVFormat.parse(java.io.Reader)
 as a shortcut:
+ 
+ 
+ for(CSVRecord record : CSVFormat.EXCEL.parse(in)) {
+ ...
+ }
+ 
+
+ Parsing record wise
+ 
+ To parse a CSV input from a file, you write:
+ 
+
+ 
+ File csvData = new File("/path/to/csv");
+ CSVParser parser = CSVParser.parse(csvData, CSVFormat.RFC4180);
+ for (CSVRecord csvRecord : parser) {
+ ...
+ }
+ 
+
+ 
+ This will read the parse the contents of the file using the
+ http://tools.ietf.org/html/rfc4180"; target="_blank">RFC 4180 
format.
+ 
+
+ 
+ To parse CSV input in a format like Excel, you write:
+ 
+
+ 
+ CSVParser parser = CSVParser.parse(csvData, CSVFormat.EXCEL);
+ for (CSVRecord csvRecord : parser) {
+ ...
+ }
+ 
+
+ 
+ If the predefined formats don't match the format at hands, custom formats can 
be defined. More information about
+ customising CSVFormats is available in CSVFormat Javadoc.
+ 
+
+ Parsing into memory
+ 
+ If parsing record wise is not desired, the contents of the input can be read 
completely into memory.
+ 
+
+ 
+ Reader in = new StringReader("a;b\nc;d");
+ CSVParser parser = new CSVParser(in, CSVFormat.EXCEL);
+ List list = parser.getRecords();
+ 
+
+ 
+ There are two constraints that have to be 

svn commit: r1035684 [19/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/comm

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/jacoco-aggregate/jacoco-sessions.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/jacoco-aggregate/jacoco-sessions.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/jacoco-aggregate/jacoco-sessions.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1 @@
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>http://www.w3.org/1999/xhtml"; lang="en">SessionsSessionsApache Commons CSV > SessionsSessionsThis coverage 
report is based on execution data from the following sessions:SessionStart 
TimeDump TimeBenedikts-MBP.fritz.box-f56b327cSep 25, 2018 3:22:49 PMSep 25, 2018 3:22:58 
PMExecution data for the following classes is 
considered in this report:ClassId.java.io.Writer..EnhancerByMockitoWithCGLIB..e0e2b0816a3906c124194aa8junit.framework.Assertdc47510e24a80194junit.framework.TestCasef69980edf8f62a7aorg.apache.commons.csv.Assertionseff742d2607c9195org.apache.commons.csv.AssertionsTestb118ca90ec59e65eorg.apache.commons.csv.CSVFileParserTest672c42d63f51c3caorg.apache.commons.csv.CSVFileParserTest.1ddeb63a3cb9ed890org.apache.commons.csv.CSVFormat3cc7bf3625d51d69org.apache.commons.csv.CSVFormat.1e7739b09ffe10430org.apache.commons.csv.CSVFormat.Predefined569eaba9309f12dforg.apache.commons.csv.CSVFormatPredefinedTest2e7e43e89f8956aborg.apache.commons.csv.CSVFormatTesteb1b98db30894a5forg.apache.commons.csv.CSVFormatTest.EmptyEnumf1f715acd81d614eorg.apache.commons.csv.CSVFormatTest.Header2c2ddbdc69804e49org.apache.commons.csv.CSVParser1e7670ef536acd7corg.apache.commons.csv.CSVParser.121b69de6ed608223org.apache.commons.csv.CSVParser.CSVRecordIterator918da4de657249cborg.apache.commons.csv.CSVParserTest3191f04ce7a14df3org.apache.commons.csv.CSVPrinter58040a1f4eb41146org.apache.commons.csv.CSVPrinterTest09b0c2334c7a1c5forg.apache.commons.csv.CSVRecord40edbe876d17ca8aorg.apache.commons.csv.CSVRecordTest5ea641992e830a08org.apache.commons.csv.CSVRecordTest.EnumFixtureb3de2efae7f8b769org.apache.commons.csv.Constantsd643c9d6b55e9e09org.apache.commons.csv.ExtendedBufferedReadere7157a5b6fa1f627org.apache.commons.csv.ExtendedBufferedReaderTest6e80c99213ec0334org.apache.commons.csv.Lexer3bc698e390f4ff73org.apache.commons.csv.LexerTest0cc5c6d3f6df3082org.apache.commons.csv.QuoteMode43842febca453b75org.apache.commons.csv.Token6e967b85f88ba151org.apache.commons.csv.Token.Typea525270ad32197c9org.apache.commons.csv.TokenMatchersfb0a3a92c4bed4d4org.apache.commons.csv.TokenMatchers.129ac6738b36f6df3org.apache.commons.csv.TokenMatchers.278e3236b90b61e18org.apache.commons.csv.TokenMatchers.311307c3907450e6forg.apache.commons.csv.TokenMatchersTest8a67bf88218e41ceorg.apache.commons.csv.Utilsa047944185ad7db8org.apache.commons.csv.issues.JiraCsv164Test0f3497c58692eefforg.apache
 
.commons.csv.issues.JiraCsv167Testef99c56e80f37c37org.apache.commons.csv.issues.JiraCsv198Test8b8b49be94e0c69borg.apache.commons.csv.issues.JiraCsv203Test7b82fedfb11cde67org.apache.commons.io.ByteOrderMark07d086d0748808f7org.apache.commons.io.Charsets831513bbe845e1d1org.apache.commons.io.FileUtilseea562a0020adf67org.apache.commons.io.IOUtilsea308dd0d57b4756org.apache.commons.io.input.BOMInputStream27259d45113cb45borg.apache.commons.i
 
o.input.BOMInputStream.14d60fff2f081f2f4org.apache.commons.io.input.ProxyInputStreamb5ff2535136f29ceorg.apache.commons.io.output.StringBuilderWriter033ba7b0e55d4690org.apache.maven.plugin.surefire.log.api.NullConsoleLogger80d79e52a7499259org.apache.maven.surefire.NonAbstractClassFilter7fa4110cdc2fc1deorg.apache.maven.surefire.booter.AbstractPathConfiguration8182fa1396653f01org.apache.maven.surefire.booter.BaseProviderFactory82593383b8ea92d6org.apache.maven.surefire.booter.BiProperty4945e268841ae2cborg.apache.maven.surefire.booter.BooterDeserializer5e68b147d2c4b22forg.apache.maven.surefire.booter.ClassLoaderConfigurationdc8fd5c18ebb0e44org.apache.maven.surefire.booter.Classpath6f6b6469b9fdf4ddorg.apache.maven.surefire.booter.ClasspathConfiguration4c7a5282c74ba3e2org.apache.maven.surefire.booter.Commandeb1b53eb8cbe7b47org.apache.maven.surefire.booter.CommandReader0c8d3ca700ec7199org.apache.maven.surefire.booter.CommandReader.1fbfebde20e2b504corg.apache.maven.surefire.booter.CommandReader.CommandRunnableee59ae4d74408619org.apache.maven.surefire.booter.DumpErrorSingletona3fa02cb87e0e12borg.apache.maven.surefire.booter.ForkedBootera5c33895f0d22838org.apache.maven.surefire.booter.ForkedBooter.1c87487d278c3ea96org.apache.maven.surefire.booter.ForkedBooter.231c66931520df8eborg.apache.maven.surefire.booter.ForkedBooter.395d48141fa4dd03dorg.apache.maven.surefire.booter.ForkedBooter.424dcd1c5bcf0d850org.apache.maven.surefire.booter.Forked
 Booter.5862846325c16cf76org.apache.maven.surefire.booter.ForkedBooter.6b3ab24d3791d84ddorg.apache.maven.surefire.booter.ForkedBooter.7401437f62a3b16fforg.apache.maven.surefire.booter.ForkedBooter.PingSch

svn commit: r1035684 [41/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/comm

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref-test/org/apache/commons/csv/PerformanceTest.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref-test/org/apache/commons/csv/PerformanceTest.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref-test/org/apache/commons/csv/PerformanceTest.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,363 @@
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+
+PerformanceTest xref
+
+
+
+View
 Javadoc
+1   /*
+2* Licensed to the Apache Software Foundation (ASF) under 
one or more
+3* contributor license agreements.  See the NOTICE file 
distributed with
+4* this work for additional information regarding copyright 
ownership.
+5* The ASF licenses this file to You under the Apache 
License, Version 2.0
+6* (the "License"); you may not use this file except in 
compliance with
+7* the License.  You may obtain a copy of the License 
at
+8*
+9*  http://www.apache.org/licenses/LICENSE-2."; 
target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0
+10   *
+11   * Unless required by applicable law or agreed to in 
writing, software
+12   * distributed under the License is distributed on an "AS 
IS" BASIS,
+13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 
express or implied.
+14   * See the License for the specific language governing 
permissions and
+15   * limitations under the License.
+16   */
+17  
+18  package org.apache.commons.csv;
+19  
+20  import java.io.BufferedReader;
+21  import java.io.File;
+22  import java.io.FileInputStream;
+23  import java.io.FileOutputStream;
+24  import java.io.IOException;
+25  import java.io.InputStream;
+26  import java.io.InputStreamReader;
+27  import java.io.OutputStream;
+28  import java.io.Reader;
+29  import java.lang.reflect.Constructor;
+30  import java.lang.reflect.InvocationTargetException;
+31  import java.nio.charset.StandardCharsets;
+32  import java.nio.file.Files;
+33  import java.nio.file.Paths;
+34  import java.util.zip.GZIPInputStream;
+35  
+36  import org.apache.commons.io.IOUtils;
+37  
+38  /**
+39   * Basic test harness.
+40   *
+41   * Requires test file to be downloaded 
separately.
+42   */
+43  
@SuppressWarnings("boxing")
+44  public class 
PerformanceTest
 {
+45  
+46  private static final 
String[] PROPS = {
+47  "java.version",  // Java Runtime Environment version
+48  "java.vendor",   // Java Runtime Environment vendor
+49  //"java.vm.specification.version", // Java Virtual 
Machine specification version
+50  //"java.vm.specification.vendor",  // Java Virtual 
Machine specification vendor
+51  //"java.vm.specification.name",// Java Virtual 
Machine specification name
+52  "java.vm.version",   // Java Virtual Machine implementation version
+53  //"java.vm.vendor",// Java Virtual 
Machine implementation vendor
+54  "java.vm.name",  // Java Virtual Machine implementation name
+55  //"java.specification.version",// Java Runtime 
Environment specification version
+56  //"java.specification.vendor", // Java Runtime 
Environment specification vendor
+57  //"java.specification.name",   // Java Runtime 
Environment specification name
+58  
+59  "os.name",   // Operating system name
+60  "os.arch",   // Operating system architecture
+61  "os.version",// Operating system version
+62  };
+63  
+64  private static int 
max = 11; // skip first test
+65  
+66  private static int 
num = 0; // number of elapsed times recorded
+67  private static long[] 
elapsedTimes = new long[max];
+68  
+69  private static final 
CSVFormat format = CSVFormat.EXCEL;
+70  
+71  private static final 
File BIG_FILE = new File("src/test/resources/perf/worldcitiespop.txt");
+72  
+73  public static 
void main(final String [] args) throws Exception {
+74  if (BIG_FILE.exists()) {
+75  
System.out.printf("Found test fixture %s: %,d 
bytes.%n", BIG_FILE, BIG_FILE.length());
+76  } else {
+77  final File compressedFile = new File(BIG_FILE.getParentFile(), 
BIG_FILE.getName() + ".gz");
+78  
System.out.printf("Decompressing test fixture 
%s...%n", compressedFile);
+79  long bytesOut = 0L;
+80  try (final 
InputStream input = new 
GZIPInputStream(new 
FileInputStream(compressedFile));
+81  
final OutputStream output = new FileOutputStream(BIG_FILE)) {
+82  
bytesOut = IOUtils.copy(input, output);
+83  }
+84  
System.out.printf("Decompress

svn commit: r1035684 [25/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/comm

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/jacoco/org.apache.commons.csv/CSVRecord.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/jacoco/org.apache.commons.csv/CSVRecord.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/jacoco/org.apache.commons.csv/CSVRecord.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1 @@
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>http://www.w3.org/1999/xhtml"; lang="en">CSVRecordSessionsApache Commons CSV > org.apache.commons.csv > CSVRecordCSVRecordElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsTotal34 of 25186%1 of 
2696%3323
 42219toString()0%n/a112211get(Enum)0%n/a11CSVRecord(String[], 
Map, String, long, long)95%50%120701get(String)100%100%0301001putIn(Map)100%100%04080
 1isSet(String)100%100%030101isConsistent()100%100%030101isMapped(String)100%100%030101toMap()100%n/a010101hasComment()100%100%020101get(int)100%n/a010101iterator()100%n/a010101size()100%n/a010101toList()100%n/a010101static {...}100%n/a010101getCharacterPosition()100%n/a010101getComment()100%n/a010101getRecordNumber()100%n/a010101values()100%n/a010101Created with http://www.jacoco.org/jacoco";>JaCoCo 
0.8.1.201803210924
\ No newline at end of file

Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/jacoco/org.apache.commons.csv/CSVRecord.java.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/jacoco/org.apache.commons.csv/CSVRecord.java.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/jacoco/org.apache.commons.csv/CSVRecord.java.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,277 @@
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>http://www.w3.org/1999/xhtml"; lang="en">CSVRecord.javaSessionsApache Commons CSV > org.apache.commons.csv > CSVRecord.ja
 vaCSVRecord.java/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance 
with
+ * the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.commons.csv;
+
+import java.io.Serializable;
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+import java.util.Map.Entry;
+
+/**
+ * A CSV record parsed from a CSV file.
+ */
+public final class CSVRecord implements Serializable, Iterable {
+
+private static final String[] EMPTY_STRING_ARRAY 
= new String[0];
+
+private static final long serialVersionUID = 1L;
+
+private final long characterPosition;
+
+/** The accumulated comments (if any) */
+private final String comment;
+
+/** The column name to index mapping. */
+private final Map mapping;
+
+/** The record number. */
+private final long recordNumber;
+
+/** The values of the record */
+private final String[] values;
+
+CSVRecord(final String[] values, final Map mapping, 
final String comment, final long recordNumber,
+final long characterPosition) {
+this.recordNumber = recordNumber;
+
this.values = values != null ? values : EMPTY_STRING_ARRAY;
+this.mapping = mapping;
+this.comment = comment;
+this.characterPosition = 
characterPosition;
+}
+
+/**
+ * Returns a value by {@link Enum}.
+ *
+ * @param e
+ *an enum
+ * @return the String at the given enum String
+ */
+public String get(final Enum e) {
+return get(e.toString());
+}
+
+/**
+ * Returns a value by index.
+ *
+ * @param i
+ *a column index (0-based)
+ * @return the String at the given index
+ */
+public String get(final int i) {
+return values[i];
+}
+
+/**
+ * Returns a value by name.
+ *
+ * @param name
+ *the name of the column to be retrieved.
+ * @return the column value, maybe null depending on {@link 
CSVFormat#getNullString()}.
+ * @throws IllegalStateException
+ * if no header mapping was provided
+ * @throws IllegalArgumentEx

svn commit: r1035684 [6/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/commo

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/apache/commons/csv/CSVPrinter.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/apache/commons/csv/CSVPrinter.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/apache/commons/csv/CSVPrinter.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,674 @@
+http://www.w3.org/TR/html4/loose.dtd";>
+
+
+
+
+
+CSVPrinter (Apache Commons CSV 1.6 API)
+
+
+
+
+
+var methods = 
{"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance 
Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+Skip navigation links
+
+
+
+
+Package
+Class
+Use
+Tree
+Deprecated
+Index
+Help
+
+
+
+
+Prev Class
+Next Class
+
+
+Frames
+No Frames
+
+
+All Classes
+
+
+
+
+
+
+
+Summary: 
+Nested | 
+Field | 
+Constr | 
+Method
+
+
+Detail: 
+Field | 
+Constr | 
+Method
+
+
+
+
+
+
+
+
+org.apache.commons.csv
+Class CSVPrinter
+
+
+
+https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">java.lang.Object
+
+
+org.apache.commons.csv.CSVPrinter
+
+
+
+
+
+
+
+All Implemented Interfaces:
+https://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true";
 title="class or interface in java.io">Closeable, https://docs.oracle.com/javase/7/docs/api/java/io/Flushable.html?is-external=true";
 title="class or interface in java.io">Flushable, https://docs.oracle.com/javase/7/docs/api/java/lang/AutoCloseable.html?is-external=true";
 title="class or interface in java.lang">AutoCloseable
+
+
+
+public final class CSVPrinter
+extends https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object
+implements https://docs.oracle.com/javase/7/docs/api/java/io/Flushable.html?is-external=true";
 title="class or interface in java.io">Flushable, https://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true";
 title="class or interface in java.io">Closeable
+Prints values in a CSV format.
+
+ Values can be appended to the output by calling the print(Object)
 method.
+ Values are printed according to https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true#valueOf-java.lang.Object-";
 title="class or interface in 
java.lang">String.valueOf(Object).
+ To complete a record the println()
 method has to be called.
+ Comments can be appended by calling printComment(String).
+ However a comment will only be written to the output if the CSVFormat supports comments.
+ 
+
+ The printer also supports appending a complete record at once by calling 
printRecord(Object...)
+ or printRecord(Iterable).
+ Furthermore printRecords(Object...),
 printRecords(Iterable)
 and printRecords(ResultSet)
+ methods can be used to print several records at once.
+ 
+
+ Example:
+
+ 
+ try (CSVPrinter printer = new CSVPrinter(new FileWriter("csv.txt"), 
CSVFormat.EXCEL)) {
+ printer.printRecord("id", "userName", "firstName", "lastName", 
"birthday");
+ printer.printRecord(1, "john73", "John", "Doe", LocalDate.of(1973, 9, 
15));
+ printer.println();
+ printer.printRecord(2, "mary", "Mary", "Meyer", LocalDate.of(1985, 3, 
29));
+ } catch (IOException ex) {
+ ex.printStackTrace();
+ }
+ 
+
+ This code will write the following to csv.txt:
+ 
+ id,userName,firstName,lastName,birthday
+ 1,john73,John,Doe,1973-09-15
+
+ 2,mary,Mary,Meyer,1985-03-29
+ 
+
+
+
+
+
+
+
+
+
+
+
+Constructor Summary
+
+Constructors 
+
+Constructor and Description
+
+
+CSVPrinter(https://docs.oracle.com/javase/7/docs/api/java/lang/Appendable.html?is-external=true";
 title="class or interface in java.lang">Appendable out,
+  CSVFormat format)
+Creates a printer that will print values to the given 
stream following the CSVFormat.
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+All Methods Instance Methods Concrete Methods 
+
+Modifier and Type
+Method and Description
+
+
+void
+close() 
+
+
+void
+close(boolean flush)
+Closes the underlying stream with an optional flush 
first.
+
+
+
+void
+flush()
+Flushes the underlying stream.
+
+
+
+https://docs.oracle.com/javase/7/docs/api/java/lang/Appendable.html

svn commit: r1035684 [48/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/comm

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref/org/apache/commons/csv/Lexer.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref/org/apache/commons/csv/Lexer.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref/org/apache/commons/csv/Lexer.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,474 @@
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+
+Lexer xref
+
+
+
+View 
Javadoc
+1   /*
+2* Licensed to the Apache Software Foundation (ASF) under 
one or more
+3* contributor license agreements.  See the NOTICE file 
distributed with
+4* this work for additional information regarding copyright 
ownership.
+5* The ASF licenses this file to You under the Apache 
License, Version 2.0
+6* (the "License"); you may not use this file except in 
compliance with
+7* the License.  You may obtain a copy of the License 
at
+8*
+9*  http://www.apache.org/licenses/LICENSE-2."; 
target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0
+10   *
+11   * Unless required by applicable law or agreed to in 
writing, software
+12   * distributed under the License is distributed on an "AS 
IS" BASIS,
+13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 
express or implied.
+14   * See the License for the specific language governing 
permissions and
+15   * limitations under the License.
+16   */
+17  
+18  package org.apache.commons.csv;
+19  
+20  import static 
org.apache.commons.csv.Constants.BACKSPACE;
+21  import static 
org.apache.commons.csv.Constants.CR;
+22  import static 
org.apache.commons.csv.Constants.END_OF_STREAM;
+23  import static 
org.apache.commons.csv.Constants.FF;
+24  import static 
org.apache.commons.csv.Constants.LF;
+25  import static 
org.apache.commons.csv.Constants.TAB;
+26  import static 
org.apache.commons.csv.Constants.UNDEFINED;
+27  import static 
org.apache.commons.csv.Token.Type.COMMENT;
+28  import static 
org.apache.commons.csv.Token.Type.EOF;
+29  import static 
org.apache.commons.csv.Token.Type.EORECORD;
+30  import static 
org.apache.commons.csv.Token.Type.INVALID;
+31  import static 
org.apache.commons.csv.Token.Type.TOKEN;
+32  
+33  import java.io.Closeable;
+34  import java.io.IOException;
+35  
+36  /**
+37   * Lexical analyzer.
+38   */
+39  final class 
Lexer implements Closeable {
+40  
+41  private static final 
String CR_STRING = Character.toString(CR);
+42  private static final 
String LF_STRING = Character.toString(LF);
+43  
+44  /**
+45   * Constant char to use for disabling comments, 
escapes and encapsulation. The value -2 is used because it
+46   * won't be confused with an EOF signal (-1), 
and because the Unicode value {@code FFFE} would be encoded as two
+47   * chars (using surrogates) and thus there 
should never be a collision with a real text char.
+48   */
+49  private static final 
char DISABLED = '\ufffe';
+50  
+51  private final 
char delimiter;
+52  private final 
char escape;
+53  private final 
char quoteChar;
+54  private final 
char commentStart;
+55  
+56  private final 
boolean ignoreSurroundingSpaces;
+57  private final 
boolean ignoreEmptyLines;
+58  
+59  /** The input stream */
+60  private final 
ExtendedBufferedReader
 reader;
+61  private String firstEol;
+62  
+63  String 
getFirstEol(){
+64  return firstEol;
+65  }
+66  
+67  Lexer(final CSVFormat format, 
final ExtendedBufferedReader
 reader) {
+68  this.reader = reader;
+69  this.delimiter = format.getDelimiter();
+70  this.escape = 
mapNullToDisabled(format.getEscapeCharacter());
+71  this.quoteChar = 
mapNullToDisabled(format.getQuoteCharacter());
+72  this.commentStart = 
mapNullToDisabled(format.getCommentMarker());
+73  this.ignoreSurroundingSpaces = 
format.getIgnoreSurroundingSpaces();
+74  this.ignoreEmptyLines = 
format.getIgnoreEmptyLines();
+75  }
+76  
+77  /**
+78   * Returns the next token.
+79   * 

+80 * A token corresponds to a term, a record change or an end-of-file indicator. +81 *

+82 * +83 * @param token +84 *an existing Token object to reuse. The caller is responsible to initialize the Token. +85 * @return the next token found +86 * @throws java.io.IOException +87 * on stream access error +88 */ +89 Token nextToken(final Token token) throws IOException { +90 +91 // get the last read char (required for empty line detection) +92 int lastChar = reader.getLastChar(); +93 +94 // read the next char and set eol +95 int c = reader.read(); +96 /* +97 * Note: The following call will swallo

svn commit: r1035684 [22/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/comm

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/jacoco/org.apache.commons.csv/CSVFormat.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/jacoco/org.apache.commons.csv/CSVFormat.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/jacoco/org.apache.commons.csv/CSVFormat.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1 @@
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>http://www.w3.org/1999/xhtml"; lang="en">CSVFormatSessionsApache Commons CSV > org.apache.commons.csv > CSVFormatCSVFormatElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsTotal133 of 2,27694%35 of 
26186%2921022390078toString()73%75%51173101trim(CharSequence)14%7%7881001hashCode()85%55%91101501printAndQuote(Object, 
CharSequence, int, int, Appendable, boolean)92%97%12115101equals(Object)95%93%32534501format(Object[])77%n/a012601validate()97%96%11712101withHeader(ResultSet)88%50%120101static {...}100%n/a0105001printAndEscape(CharSequence, int, int, 
Appendable)100%100%01002201CSVFormat(char, Character, QuoteMode, Character, Character, 
boolean, boolean, String, String, Object[], String[], boolean, boolean, 
boolean, boolean, boolean, boolean)100%100%0202001print(Object, Appendable, 
boolean)100%100%0601001print(Object, CharSequence, 
int, int, Appendable, boolean)100%100%0501001withCommentMarker(Character)100%100%020301withDelimiter(char)100%100%020301withEscape(Character)100%100%020301withQuote(Character)<
 /td>100%100%020301withAllowMissingColumnNames(boolean)100%n/a010101withAutoFlush(boolean)100%n/a010101withHeader(String[])100%n/a010101withHeaderComments(Object[])100%n/a010101withIgnoreEmptyLines(boolean)100%n/a010101withIgnoreHeaderCase(boolean)100%n/a010101withIgnoreSurroundingSpaces(boolean)100%n/a010101withNullString(String)100%n/a010101withQuoteMode(QuoteMode)100%n/a010class="ctr2" id="i30">10id="k25">1class="el_method">withRecordSeparator(String)id="b26">title="37" alt="37"/>100%id="d39"/>n/aid="f28">01id="h26">01id="j26">01href="CSVFormat.java.html#L1972" 
 >class="el_method">withSkipHeaderRecord(boolean)id="b27">title="37" alt="37"/>100%id="d40"/>n/a010101withTrailingDelimiter(boolean)100%n/a010101withTrim(boolean)100%n/a010101toStringArray(Object[])100%100%040701withHeader(Class)100%75%130701withHeader(ResultSetMetaData)100%75%130701printRecord(Appendable, Object[])100%100%030401newFormat(char)100%n/a010101println(Appendable)100%100%030501print(File, Charset)100%n/a010101isLineBreak(char)100%100%030101isLineBreak(Character)100%100%030101getHeader()100%100%0class="ctr2" id="g22">20id="i39">10id="k39">1class="el_method">getHeaderComments()src="../jacoco-resources/greenbar.gif" width="6" height="10" title="10" 
 >alt="10"/>100%id="d23">title="2" alt="2"/>100%id="f40">02id="h40">01id="j40">01href="CSVFormat.java.html#L1137" class="el_method">print(Path, 
 >Charset)src="../jacoco-resources/greenbar
 .gif" width="5" height="10" title="8" alt="8"/>100%n/a010101isCommentMarkerSet()100%100%020101isEscapeCharacterSet()100%100%020101isNullStringSet()100%100%02<
 /td>0101isQuoteCharacterSet()100%100%020101parse(Reader)100%n/a010101print(Appendable)100%n/a010101printer()100%n/a010101withFirstRecordAsHeader()100%n/a010101withCommentMarker(char)
 100%n/a010101withEscape(char)100%n/a010101withQuote(char)100%n/a010101withRecordSeparator(char)100%n/a010101withSystemRecordSeparator()100%n/a010101valueOf(String)100%n/a010101withAllowMissingColumnNames()100%n/a010101withIgnoreEmptyLines()100%n/a010101withIgnoreHeaderCase()100%n/a010101withIgnoreSurroundingSpaces()100%n/a010101withSkipHeaderRecord()100%n/a010101withTrailingDelimiter()100%n/a010101withTrim()
 100%n/a010101getAllowMissingColumnNames()100%n/a010101getAutoFlush()100%n/a010101getCommentMarker()100%n/a010101getDelimiter()100%n/a010101getEscapeCharacter()100%n/a010101getIgnoreEmptyLines(
 )100%n/a010101getIgnoreHeaderCase()100%n/a010101get
 IgnoreSurroundingSpaces()100%n/a010101getNullString()100%n/a010101getQuoteCharacter()100%n/a010101getQuoteMode()100%n/a010101getRecordSeparator()100%n/a010101getSkipHeaderRecord()100%n/a010101getTrailingDelimiter()100%n/a010101getTrim()100%n/a010101Created with http://www.jacoco.org/jacoco";>JaCoCo 
0.8.1.201803210924
\ No newline at end of file




svn commit: r1035684 [2/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/commo

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/index-all.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/index-all.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/index-all.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,763 @@
+http://www.w3.org/TR/html4/loose.dtd";>
+
+
+
+
+
+Index (Apache Commons CSV 1.6 API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+Skip navigation links
+
+
+
+
+Package
+Class
+Use
+Tree
+Deprecated
+Index
+Help
+
+
+
+
+Prev
+Next
+
+
+Frames
+No Frames
+
+
+All Classes
+
+
+
+
+
+
+
+
+
+C D E F G H I M N O P Q R S T V W 
+
+
+C
+
+close() - 
Method in class org.apache.commons.csv.CSVParser
+
+Closes resources.
+
+close() - 
Method in class org.apache.commons.csv.CSVPrinter
+ 
+close(boolean)
 - Method in class org.apache.commons.csv.CSVPrinter
+
+Closes the underlying stream with an optional flush 
first.
+
+CSVFormat - Class 
in org.apache.commons.csv
+
+Specifies the format of a CSV file and parses input.
+
+CSVFormat.Predefined - Enum in org.apache.commons.csv
+
+Predefines formats.
+
+CSVParser - Class 
in org.apache.commons.csv
+
+Parses CSV files according to the specified format.
+
+CSVParser(Reader,
 CSVFormat) - Constructor for class org.apache.commons.csv.CSVParser
+
+Customized CSV parser using the given CSVFormat
+
+ 
+ If you do not read all records from the given reader, you should 
call close() 
on the parser,
+ unless you close the reader.
+
+CSVParser(Reader,
 CSVFormat, long, long) - Constructor for class 
org.apache.commons.csv.CSVParser
+
+Customized CSV parser using the given CSVFormat
+
+ 
+ If you do not read all records from the given reader, you should 
call close() 
on the parser,
+ unless you close the reader.
+
+CSVPrinter - 
Class in org.apache.commons.csv
+
+Prints values in a CSV format.
+
+CSVPrinter(Appendable,
 CSVFormat) - Constructor for class org.apache.commons.csv.CSVPrinter
+
+Creates a printer that will print values to the given 
stream following the CSVFormat.
+
+CSVRecord - Class 
in org.apache.commons.csv
+
+A CSV record parsed from a CSV file.
+
+
+
+
+
+D
+
+DEFAULT - 
Static variable in class org.apache.commons.csv.CSVFormat
+
+Standard Comma Separated Value format, as for CSVFormat.RFC4180
 but allowing empty lines.
+
+
+
+
+
+E
+
+equals(Object)
 - Method in class org.apache.commons.csv.CSVFormat
+ 
+EXCEL - Static 
variable in class org.apache.commons.csv.CSVFormat
+
+Excel file format (using a comma as the value 
delimiter).
+
+
+
+
+
+F
+
+flush() - 
Method in class org.apache.commons.csv.CSVPrinter
+
+Flushes the underlying stream.
+
+format(Object...)
 - Method in class org.apache.commons.csv.CSVFormat
+
+Formats the specified values.
+
+
+
+
+
+G
+
+get(Enum)
 - Method in class org.apache.commons.csv.CSVRecord
+
+Returns a value by https://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true";
 title="class or interface in java.lang">Enum.
+
+get(int) - 
Method in class org.apache.commons.csv.CSVRecord
+
+Returns a value by index.
+
+get(String)
 - Method in class org.apache.commons.csv.CSVRecord
+
+Returns a value by name.
+
+getAllowMissingColumnNames()
 - Method in class org.apache.commons.csv.CSVFormat
+
+Specifies whether missing column names are allowed when 
parsing the header line.
+
+getAutoFlush()
 - Method in class org.apache.commons.csv.CSVFormat
+
+Returns whether to flush on close.
+
+getCharacterPosition()
 - Method in class org.apache.commons.csv.CSVRecord
+
+Returns the start position of this record as a character 
position in the source stream.
+
+getComment()
 - Method in class org.apache.commons.csv.CSVRecord
+
+Returns the comment for this record, if any.
+
+getCommentMarker()
 - Method in class org.apache.commons.csv.CSVFormat
+
+Returns the character marking the start of a line 
comment.
+
+getCurrentLineNumber()
 - Method in class org.apache.commons.csv.CSVParser
+
+Returns the current line number in the input stream.
+
+getDelimiter()
 - Method in class org.apache.commons.csv.CSVFormat
+
+Returns the character delimiting the values (typically ';', 
',' or '\t').
+
+getEscapeCharacter()
 - Method in class org.apache.commons.csv.CSVFormat
+
+Returns the escape character.
+
+getFirstEndOfLine()
 - Method in class org.apache.commons.csv.CSVParser
+
+Gets the first end-of-line string encountered.
+
+getFormat()
 - Method in enum org.apache.commons.csv.CSVFormat.Pred

svn commit: r1035684 [18/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/comm

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/jacoco-aggregate/jacoco-resources/prettify.js
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/jacoco-aggregate/jacoco-resources/prettify.js
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/jacoco-aggregate/jacoco-resources/prettify.js
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,1510 @@
+// Copyright (C) 2006 Google Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+//  http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+
+/**
+ * @fileoverview
+ * some functions for browser-side pretty printing of code contained in html.
+ * 
+ *
+ * For a fairly comprehensive set of languages see the
+ * http://google-code-prettify.googlecode.com/svn/trunk/README.html#langs";>README
+ * file that came with this source.  At a minimum, the lexer should work on a
+ * number of languages including C and friends, Java, Python, Bash, SQL, HTML,
+ * XML, CSS, Javascript, and Makefiles.  It works passably on Ruby, PHP and Awk
+ * and a subset of Perl, but, because of commenting conventions, doesn't work 
on
+ * Smalltalk, Lisp-like, or CAML-like languages without an explicit lang class.
+ * 
+ * Usage: 
+ *  include this source file in an html page via
+ *   {@code }
+ *  define style rules.  See the example page for examples.
+ *  mark the {@code } and {@code } tags in your source with
+ *{@code class=prettyprint.}
+ *You can also use the (html deprecated) {@code } tag, but the pretty
+ *printer needs to do more substantial DOM manipulations to support that, 
so
+ *some css styles may not be preserved.
+ * 
+ * That's it.  I wanted to keep the API as simple as possible, so there's no
+ * need to specify which language the code is in, but if you wish, you can add
+ * another class to the {@code } or {@code } element to specify the
+ * language, as in {@code }.  Any class that
+ * starts with "lang-" followed by a file extension, specifies the file type.
+ * See the "lang-*.js" files in this directory for code that implements
+ * per-language file handlers.
+ * 
+ * Change log:
+ * cbeust, 2006/08/22
+ * 
+ *   Java annotations (start with "@") are now captured as literals ("lit")
+ * 
+ * @requires console
+ */
+
+// JSLint declarations
+/*global console, document, navigator, setTimeout, window */
+
+/**
+ * Split {@code prettyPrint} into multiple timeouts so as not to interfere with
+ * UI events.
+ * If set to {@code false}, {@code prettyPrint()} is synchronous.
+ */
+window['PR_SHOULD_USE_CONTINUATION'] = true;
+
+/** the number of characters between tab columns */
+window['PR_TAB_WIDTH'] = 8;
+
+/** Walks the DOM returning a properly escaped version of innerHTML.
+  * @param {Node} node
+  * @param {Array.} out output buffer that receives chunks of HTML.
+  */
+window['PR_normalizedHtml']
+
+/** Contains functions for creating and registering new language handlers.
+  * @type {Object}
+  */
+  = window['PR']
+
+/** Pretty print a chunk of code.
+  *
+  * @param {string} sourceCodeHtml code as html
+  * @return {string} code as html, but prettier
+  */
+  = window['prettyPrintOne']
+/** Find all the {@code } and {@code } tags in the DOM with
+  * {@code class=prettyprint} and prettify them.
+  * @param {Function?} opt_whenDone if specified, called when the last entry
+  * has been finished.
+  */
+  = window['prettyPrint'] = void 0;
+
+/** browser detection. @extern @returns false if not IE, otherwise the major 
version. */
+window['_pr_isIE6'] = function () {
+  var ieVersion = navigator && navigator.userAgent &&
+  navigator.userAgent.match(/\bMSIE ([678])\./);
+  ieVersion = ieVersion ? +ieVersion[1] : false;
+  window['_pr_isIE6'] = function () { return ieVersion; };
+  return ieVersion;
+};
+
+
+(function () {
+  // Keyword lists for various languages.
+  var FLOW_CONTROL_KEYWORDS =
+  "break continue do else for if return while ";
+  var C_KEYWORDS = FLOW_CONTROL_KEYWORDS + "auto case char const default " +
+  "double enum extern float goto int long register short signed sizeof " +
+  "static struct switch typedef union unsigned void volatile ";
+  var COMMON_KEYWORDS = C_KEYWORDS + "catch class delete false import " +
+  "new operator private protected public this throw true try typeof ";
+  var CPP_KEYWORDS = COMMON_KEYWORDS + "alignof align_union asm axiom bool " +
+  "concept concept_map const_cast constexpr 

svn commit: r1035684 [7/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/commo

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/apache/commons/csv/QuoteMode.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/apache/commons/csv/QuoteMode.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/apache/commons/csv/QuoteMode.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,395 @@
+http://www.w3.org/TR/html4/loose.dtd";>
+
+
+
+
+
+QuoteMode (Apache Commons CSV 1.6 API)
+
+
+
+
+
+var methods = {"i0":9,"i1":9};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static 
Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+Skip navigation links
+
+
+
+
+Package
+Class
+Use
+Tree
+Deprecated
+Index
+Help
+
+
+
+
+Prev Class
+Next Class
+
+
+Frames
+No Frames
+
+
+All Classes
+
+
+
+
+
+
+
+Summary: 
+Nested | 
+Enum Constants | 
+Field | 
+Method
+
+
+Detail: 
+Enum Constants | 
+Field | 
+Method
+
+
+
+
+
+
+
+
+org.apache.commons.csv
+Enum QuoteMode
+
+
+
+https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">java.lang.Object
+
+
+https://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true";
 title="class or interface in java.lang">java.lang.Enum
+
+
+org.apache.commons.csv.QuoteMode
+
+
+
+
+
+
+
+
+
+All Implemented Interfaces:
+https://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true";
 title="class or interface in java.io">Serializable, https://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true";
 title="class or interface in java.lang">Comparable
+
+
+
+public enum QuoteMode
+extends https://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true";
 title="class or interface in java.lang">Enum
+Defines quoting behavior when printing.
+
+
+
+
+
+
+
+
+
+
+
+Enum Constant Summary
+
+Enum Constants 
+
+Enum Constant and Description
+
+
+ALL
+Quotes all fields.
+
+
+
+ALL_NON_NULL
+Quotes all non-null fields.
+
+
+
+MINIMAL
+Quotes fields which contain special characters such as a 
the field delimiter, quote character or any of the
+ characters in the line separator string.
+
+
+
+NON_NUMERIC
+Quotes all non-numeric fields.
+
+
+
+NONE
+Never quotes fields.
+
+
+
+
+
+
+
+
+
+
+Method Summary
+
+All Methods Static Methods Concrete Methods 
+
+Modifier and Type
+Method and Description
+
+
+static QuoteMode
+valueOf(https://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String name)
+Returns the enum constant of this type with the specified 
name.
+
+
+
+static QuoteMode[]
+values()
+Returns an array containing the constants of this enum 
type, in
+the order they are declared.
+
+
+
+
+
+
+
+Methods inherited from class java.lang.https://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true";
 title="class or interface in java.lang">Enum
+https://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#clone--";
 title="class or interface in java.lang">clone, https://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#compareTo-E-";
 title="class or interface in java.lang">compareTo, https://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#equals-java.lang.Object-";
 title="class or interface in java.lang">equals, https://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#finalize--";
 title="class or interface in java.lang">finalize, https://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#getDeclaringClass--";
 title="class or interface in java.lang">getDeclaringClass, https://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#hashCode--";
 title="class or interface in java.lang">hashCode, https://docs.oracle.com/javase/
 7/docs/api/java/lang/Enum.html?is-external=true#name--" title="class or 
interface in java.lang">name, https://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#ordinal--";
 title="class or interface in java.lang">ordinal, https://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true#toString--";
 title="class or interface in java.lang">toString, https://docs.oracle.com/javase/7/docs/ap

svn commit: r1035684 [34/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/comm

2018-09-25 Thread britter
t
+  
+ 
+  http://www.apache.org/foundation/sponsorship.html"; 
class="externalLink" title="Sponsorship">
+Sponsorship
+  
+ 
+  http://www.apache.org/foundation/thanks.html"; 
class="externalLink" title="Thanks">
+Thanks
+  
+ 
+  
+
+   
 http://www.apache.org/events/current-event.html"; title="ApacheCon" 
class="builtBy">
+http://www.apache.org/events/current-event-125x125.png";/>
+  
+   
 http://maven.apache.org/"; title="Maven" 
class="builtBy">
+http://maven.apache.org/images/logos/maven-feather.png";/>
+  
+  
+  
+  
+
+Project Team
+A successful project requires many people to play many roles. Some members 
write code or documentation, while others are valuable as testers, submitting 
patches and suggestions.
+The project team is comprised of Members and Contributors. Members have 
direct access to the source of a project and actively evolve the code-base. 
Contributors improve the project through submission of patches and suggestions 
to the Members. The number of Contributors to the project is unbounded. Get 
involved today. All contributions to the project are greatly appreciated.
+
+Members
+The following is a list of developers with commit privileges that have 
directly contributed to the project in one way or another.
+
+
+Image
+Id
+Name
+Email
+URL
+Organization
+
+http://www.gravatar.com/avatar/4156866f23b66d5ca7df5cdc86cb9a0e?d=mm&s=60";
 alt="" />
+bayard
+Henri Yandell
+bay...@apache.org
+-
+The Apache Software Foundation
+
+http://www.gravatar.com/avatar/77e72680b92db81abf2e41e9c5ed3525?d=mm&s=60";
 alt="" />
+mvdb
+Martin van den Bemt
+m...@apache.org
+-
+The Apache Software Foundation
+
+http://www.gravatar.com/avatar/c142081bd84e031f1951dc8fa42745f2?d=mm&s=60";
 alt="" />
+yonik
+Yonik Seeley
+yo...@apache.org
+-
+The Apache Software Foundation
+
+http://www.gravatar.com/avatar/8304c64641badd4218a89a5f97d2ae86?d=mm&s=60";
 alt="" />
+ebourg
+Emmanuel Bourg
+ebo...@apache.org
+-
+Apache
+
+http://www.gravatar.com/avatar/ebb1af3a9dd9a3dd5f169d9c698f9f21?d=mm&s=60";
 alt="" />
+ggregory
+Gary Gregory
+ggreg...@apache.org
+http://www.garygregory.com";>http://www.garygregory.com
+-
+
+http://www.gravatar.com/avatar/cbfb61ee7f8641b2b6eaf22fed163b1e?d=mm&s=60";
 alt="" />
+britter
+Benedikt Ritter
+brit...@apache.org
+-
+The Apache Software Foundation
+
+http://www.gravatar.com/avatar/a010ac0916b6b9b10883e9359cfcd7f9?d=mm&s=60";
 alt="" />
+chtompki
+Rob Tompkins
+chtom...@apache.org
+-
+The Apache Software Foundation
+
+Contributors
+The following additional people have contributed to this project through 
the way of suggestions, patches or documentation.
+
+
+Name
+
+Bob Smith
+  
+
+  
+
+
+
+  Copyright ©2018
+https://www.apache.org/";>The Apache Software 
Foundation.
+All Rights Reserved.
+
+  
+
+

Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/user-guide.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/user-guide.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/user-guide.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,517 @@
+
+
+http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+  
+
+
+
+
+
+Commons CSV – User Guide
+
+  
+  
+
+
+  
+  
+  
+  
+
+  
+  
+
+  
+  http://commons.apache.org/"; id="bannerLeft" 
title="Apache Commons logo">
+   
 
+
+  
+   
 
+
+  
+
+
+  
+
+  http://commons.apache.org/proper/commons-csv/";>Apache Commons CSV 
™
+
+
+Last Published: 25 September 2018
+  | Version: 1.6
+  
+  
+
+  http://www.apachecon.com/"; class="e

svn commit: r1035684 [4/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/commo

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/apache/commons/csv/CSVFormat.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/apache/commons/csv/CSVFormat.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/apache/commons/csv/CSVFormat.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,2466 @@
+http://www.w3.org/TR/html4/loose.dtd";>
+
+
+
+
+
+CSVFormat (Apache Commons CSV 1.6 API)
+
+
+
+
+
+var methods = 
{"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":9,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":9,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static 
Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+Skip navigation links
+
+
+
+
+Package
+Class
+Use
+Tree
+Deprecated
+Index
+Help
+
+
+
+
+Prev Class
+Next Class
+
+
+Frames
+No Frames
+
+
+All Classes
+
+
+
+
+
+
+
+Summary: 
+Nested | 
+Field | 
+Constr | 
+Method
+
+
+Detail: 
+Field | 
+Constr | 
+Method
+
+
+
+
+
+
+
+
+org.apache.commons.csv
+Class CSVFormat
+
+
+
+https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">java.lang.Object
+
+
+org.apache.commons.csv.CSVFormat
+
+
+
+
+
+
+
+All Implemented Interfaces:
+https://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true";
 title="class or interface in java.io">Serializable
+
+
+
+public final class CSVFormat
+extends https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object
+implements https://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true";
 title="class or interface in java.io">Serializable
+Specifies the format of a CSV file and parses input.
+
+ Using predefined formats
+
+ 
+ You can use one of the predefined formats:
+ 
+
+ 
+ DEFAULT
+ EXCEL
+ INFORMIX_UNLOAD
+ INFORMIX_UNLOAD_CSV
+ MYSQL
+ RFC4180
+ ORACLE
+ POSTGRESQL_CSV
+ POSTGRESQL_TEXT
+ TDF
+ 
+
+ 
+ For example:
+ 
+
+ 
+ CSVParser parser = CSVFormat.EXCEL.parse(reader);
+ 
+
+ 
+ The CSVParser provides static methods 
to parse other input types, for example:
+ 
+
+ 
+ CSVParser parser = CSVParser.parse(file, StandardCharsets.US_ASCII, 
CSVFormat.EXCEL);
+ 
+
+ Defining formats
+
+ 
+ You can extend a format by calling the with methods. For example:
+ 
+
+ 
+ 
CSVFormat.EXCEL.withNullString("N/A").withIgnoreSurroundingSpaces(true);
+ 
+
+ Defining column names
+
+ 
+ To define the column names you want to use to access records, write:
+ 
+
+ 
+ CSVFormat.EXCEL.withHeader("Col1", "Col2", 
"Col3");
+ 
+
+ 
+ Calling withHeader(String...)
 let's you use the given names to address values in a CSVRecord, and
+ assumes that your CSV source does not contain a first record that also 
defines column names.
+
+ If it does, then you are overriding this metadata with your names and you 
should skip the first record by calling
+ withSkipHeaderRecord(boolean)
 with true.
+ 
+
+ Parsing
+
+ 
+ You can use a format directly to parse a reader. For example, to parse an 
Excel file with columns header, write:
+ 
+
+ 
+ Reader in = ...;
+ CSVFormat.EXCEL.withHeader("Col1", "Col2", 
"Col3").parse(in);
+ 
+
+ 
+ For other input types, like resources, files, and URLs, use the static 
methods on CSVParser.
+ 
+
+ Referencing columns safely
+
+ 
+ If your source contains a header record, you can simplify your code and 
safely reference columns, by using
+ withHeader(String...)
 with no arguments:
+ 
+
+ 
+ CSVFormat.EXCEL.withHeader();
+ 
+
+ 
+ This causes the parser to read the first record and use its values as column 
names.
+
+ Then, call one of the CSVRecord get method that takes a 
String column name argument:
+ 
+
+ 
+ String value = record.get("Col1")

svn commit: r1035684 [23/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/comm

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/jacoco/org.apache.commons.csv/CSVFormat.java.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/jacoco/org.apache.commons.csv/CSVFormat.java.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/jacoco/org.apache.commons.csv/CSVFormat.java.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,2043 @@
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>http://www.w3.org/1999/xhtml"; lang="en">CSVFormat.javaSessionsApache Commons CSV > org.apache.commons.csv > CSVFormat.ja
 vaCSVFormat.java/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance 
with
+ * the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.commons.csv;
+
+import static org.apache.commons.csv.Constants.BACKSLASH;
+import static org.apache.commons.csv.Constants.COMMA;
+import static org.apache.commons.csv.Constants.COMMENT;
+import static org.apache.commons.csv.Constants.EMPTY;
+import static org.apache.commons.csv.Constants.CR;
+import static org.apache.commons.csv.Constants.CRLF;
+import static org.apache.commons.csv.Constants.DOUBLE_QUOTE_CHAR;
+import static org.apache.commons.csv.Constants.LF;
+import static org.apache.commons.csv.Constants.PIPE;
+import static org.apache.commons.csv.Constants.SP;
+import static org.apache.commons.csv.Constants.TAB;
+
+import java.io.File;
+import java.io.FileOutputStream;
+import java.io.IOException;
+import java.io.OutputStreamWriter;
+import java.io.Reader;
+import java.io.Serializable;
+import java.io.StringWriter;
+import java.nio.charset.Charset;
+import java.nio.file.Files;
+import java.nio.file.Path;
+import java.sql.ResultSet;
+import java.sql.ResultSetMetaData;
+import java.sql.SQLException;
+import java.util.Arrays;
+import java.util.HashSet;
+import java.util.Set;
+
+/**
+ * Specifies the format of a CSV file and parses input.
+ *
+ * 

Using predefined formats

+ * + *

+ * You can use one of the predefined formats: + *

+ * + *
    + *
  • {@link #DEFAULT}
  • + *
  • {@link #EXCEL}
  • + *
  • {@link #INFORMIX_UNLOAD}
  • + *
  • {@link #INFORMIX_UNLOAD_CSV}
  • + *
  • {@link #MYSQL}
  • + *
  • {@link #RFC4180}
  • + *
  • {@link #ORACLE}
  • + *
  • {@link #POSTGRESQL_CSV}
  • + *
  • {@link #POSTGRESQL_TEXT}
  • + *
  • {@link #TDF}
  • + *
+ * + *

+ * For example: + *

+ * + *
+ * CSVParser parser = CSVFormat.EXCEL.parse(reader);
+ * 
+ * + *

+ * The {@link CSVParser} provides static methods to parse other input types, for example: + *

+ * + *
+ * CSVParser parser = CSVParser.parse(file, StandardCharsets.US_ASCII, 
CSVFormat.EXCEL);
+ * 
+ * + *

Defining formats

+ * + *

+ * You can extend a format by calling the {@code with} methods. For example: + *

+ * + *
+ * 
CSVFormat.EXCEL.withNullString("N/A").withIgnoreSurroundingSpaces(true);
+ * 
+ * + *

Defining column names

+ * + *

+ * To define the column names you want to use to access records, write: + *

+ * + *
+ * CSVFormat.EXCEL.withHeader("Col1", 
"Col2", "Col3");
+ * 
+ * + *

+ * Calling {@link #withHeader(String...)} let's you use the given names to address values in a {@link CSVRecord}, and + * assumes that your CSV source does not contain a first record that also defines column names. + * + * If it does, then you are overriding this metadata with your names and you should skip the first record by calling + * {@link #withSkipHeaderRecord(boolean)} with {@code true}. + *

+ * + *

Parsing

+ * + *

+ * You can use a format directly to parse a reader. For example, to parse an Excel file with columns header, write: + *

+ * + *
+ * Reader in = ...;
+ * CSVFormat.EXCEL.withHeader("Col1", 
"Col2", "Col3").parse(in);
+ * 
+ * + *

+ * For other input types, like resources, files, and URLs, use the static methods on {@link CSVParser}. + *

+ * + *

Referencing columns safely

+ * + *

+ * If your source contains a header record, you can simplify your code and safely reference


svn commit: r1035684 [8/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/commo

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/apache/commons/csv/class-use/CSVPrinter.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/apache/commons/csv/class-use/CSVPrinter.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/apache/commons/csv/class-use/CSVPrinter.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,170 @@
+http://www.w3.org/TR/html4/loose.dtd";>
+
+
+
+
+
+Uses of Class org.apache.commons.csv.CSVPrinter (Apache Commons CSV 1.6 
API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+Skip navigation links
+
+
+
+
+Package
+Class
+Use
+Tree
+Deprecated
+Index
+Help
+
+
+
+
+Prev
+Next
+
+
+Frames
+No Frames
+
+
+All Classes
+
+
+
+
+
+
+
+
+
+
+Uses 
of Classorg.apache.commons.csv.CSVPrinter
+
+
+
+
+
+
+
+
+Uses of CSVPrinter in org.apache.commons.csv
+
+Methods in org.apache.commons.csv
 that return CSVPrinter 
+
+Modifier and Type
+Method and Description
+
+
+
+CSVPrinter
+CSVFormat.print(https://docs.oracle.com/javase/7/docs/api/java/lang/Appendable.html?is-external=true";
 title="class or interface in java.lang">Appendable out)
+Prints to the specified output.
+
+
+
+CSVPrinter
+CSVFormat.print(https://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true";
 title="class or interface in java.io">File out,
+ https://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html?is-external=true";
 title="class or interface in java.nio.charset">Charset charset)
+Prints to the specified output.
+
+
+
+CSVPrinter
+CSVFormat.print(https://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html?is-external=true";
 title="class or interface in java.nio.file">Path out,
+ https://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html?is-external=true";
 title="class or interface in java.nio.charset">Charset charset)
+Prints to the specified output.
+
+
+
+CSVPrinter
+CSVFormat.printer()
+Prints to the https://docs.oracle.com/javase/7/docs/api/java/lang/System.html?is-external=true#out";
 title="class or interface in java.lang">System.out.
+
+
+
+
+
+
+
+
+
+
+
+
+
+Skip navigation links
+
+
+
+
+Package
+Class
+Use
+Tree
+Deprecated
+Index
+Help
+
+
+
+
+Prev
+Next
+
+
+Frames
+No Frames
+
+
+All Classes
+
+
+
+
+
+
+
+
+
+Copyright © 2018 https://www.apache.org/";>The Apache Software Foundation. All rights 
reserved.
+
+

Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/apache/commons/csv/class-use/CSVRecord.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/apache/commons/csv/class-use/CSVRecord.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/org/apache/commons/csv/class-use/CSVRecord.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,157 @@
+http://www.w3.org/TR/html4/loose.dtd";>
+
+
+
+
+
+Uses of Class org.apache.commons.csv.CSVRecord (Apache Commons CSV 1.6 
API)
+
+
+
+
+
+
+
+JavaScript is disabled on your browser.
+
+
+
+
+
+Skip navigation links
+
+
+
+
+Package
+Class
+Use
+Tree
+Deprecated
+Index
+Help
+
+
+
+
+Prev
+Next
+
+
+Frames
+No Frames
+
+
+All Classes
+
+
+
+
+
+
+
+
+
+
+Uses 
of Classorg.apache.commons.csv.CSVRecord
+
+
+
+
+
+
+
+
+Uses of CSVRecord in org.apache.commons.csv
+
+Methods in org.apache.commons.csv
 that return types with arguments of type CSVRecord 
+
+Modifier and Type
+Method and Description
+
+
+
+https://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List
+CSVParser.getRecords()
+Parses the CSV input according to the given format

svn commit: r1035684 [32/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/comm

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/scm.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/scm.html 
(added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/scm.html 
Tue Sep 25 13:26:18 2018
@@ -0,0 +1,355 @@
+
+
+http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+  
+
+
+
+
+Commons CSV – Source Code Management
+
+  
+  
+
+
+  
+  
+  
+  
+
+  
+  
+
+  
+  http://commons.apache.org/"; id="bannerLeft" 
title="Apache Commons logo">
+   
 
+
+  
+   
 
+
+  
+
+
+  
+
+  http://commons.apache.org/proper/commons-csv/";>Apache Commons CSV 
™
+
+
+Last Published: 25 September 2018
+  | Version: 1.6
+  
+  
+
+  http://www.apachecon.com/"; class="externalLink" 
title="ApacheCon">
+ApacheCon
+  
+  
+  http://www.apache.org"; class="externalLink" 
title="Apache">
+Apache
+  
+  
+  
+Commons
+  
+
+
+
+  
+
+
+
+  
+
+  
+
+
+  Commons CSV
+
+  
+Overview
+  
+ 
+  
+Download
+  
+ 
+  
+User Guide
+  
+ 
+  http://wiki.apache.org/commons/CSV"; 
class="externalLink" title="Wiki">
+Wiki
+  
+ 
+  
+Development
+
+  
+History
+  
+ 
+  
+Mailing Lists
+  
+ 
+  
+Issue Tracking
+  
+ 
+  
+Team
+  
+ 
+  
+Source Repository
+  
+ 
+  
+Javadoc trunk
+  
+ 
+  
+Javadoc 1.6
+  
+ 
+  
+Javadoc 1.5
+  
+ 
+  
+Javadoc 1.4
+  
+ 
+  
+Javadoc 1.3
+  
+ 
+  
+Javadoc 1.2
+  
+ 
+  
+Javadoc 1.1
+  
+ 
+  
+Javadoc 1.0
+  
+ 
+  
+  Site Archives
+
+  
+CSV 1.5
+  
+ 
+  
+CSV 1.4
+  
+ 
+  
+CSV 1.3
+  
+ 
+  
+CSV 1.2
+  
+ 
+  
+CSV 1.1
+  
+ 
+  
+CSV 1.0
+  
+ 
+  
+Project Documentation
+   


 
+  
+Project Information
+
+  
+  
+About
+  
+ 
+  
+Summary
+  
+ 
+  
+Team
+  
+   
+  
+Source Code Management
+  
+ 
+  
+Issue Management
+  
+ 
+  
+Mailing Lists
+  
+ 
+  
+Dependency Information
+  
+ 
+  
+Dependencies
+  
+ 
+  
+Dependency Convergence
+  
+  

svn commit: r1035684 [10/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/comm

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/src-html/org/apache/commons/csv/CSVFormat.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/src-html/org/apache/commons/csv/CSVFormat.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/apidocs/src-html/org/apache/commons/csv/CSVFormat.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,2114 @@
+http://www.w3.org/TR/html4/loose.dtd";>
+
+
+Source code
+
+
+
+
+001/*
+002 * Licensed to the Apache Software 
Foundation (ASF) under one or more
+003 * contributor license agreements.  See 
the NOTICE file distributed with
+004 * this work for additional information 
regarding copyright ownership.
+005 * The ASF licenses this file to You 
under the Apache License, Version 2.0
+006 * (the "License"); you may not use this 
file except in compliance with
+007 * the License.  You may obtain a copy of 
the License at
+008 *
+009 *  
http://www.apache.org/licenses/LICENSE-2.0
+010 *
+011 * Unless required by applicable law or 
agreed to in writing, software
+012 * distributed under the License is 
distributed on an "AS IS" BASIS,
+013 * WITHOUT WARRANTIES OR CONDITIONS OF 
ANY KIND, either express or implied.
+014 * See the License for the specific 
language governing permissions and
+015 * limitations under the License.
+016 */
+017
+018package org.apache.commons.csv;
+019
+020import static 
org.apache.commons.csv.Constants.BACKSLASH;
+021import static 
org.apache.commons.csv.Constants.COMMA;
+022import static 
org.apache.commons.csv.Constants.COMMENT;
+023import static 
org.apache.commons.csv.Constants.EMPTY;
+024import static 
org.apache.commons.csv.Constants.CR;
+025import static 
org.apache.commons.csv.Constants.CRLF;
+026import static 
org.apache.commons.csv.Constants.DOUBLE_QUOTE_CHAR;
+027import static 
org.apache.commons.csv.Constants.LF;
+028import static 
org.apache.commons.csv.Constants.PIPE;
+029import static 
org.apache.commons.csv.Constants.SP;
+030import static 
org.apache.commons.csv.Constants.TAB;
+031
+032import java.io.File;
+033import java.io.FileOutputStream;
+034import java.io.IOException;
+035import java.io.OutputStreamWriter;
+036import java.io.Reader;
+037import java.io.Serializable;
+038import java.io.StringWriter;
+039import java.nio.charset.Charset;
+040import java.nio.file.Files;
+041import java.nio.file.Path;
+042import java.sql.ResultSet;
+043import java.sql.ResultSetMetaData;
+044import java.sql.SQLException;
+045import java.util.Arrays;
+046import java.util.HashSet;
+047import java.util.Set;
+048
+049/**
+050 * Specifies the format of a CSV file and 
parses input.
+051 *
+052 * 

Using predefined formats

+053 * +054 *

+055 * You can use one of the predefined formats: +056 *

+057 * +058 *
    +059 *
  • {@link #DEFAULT}
  • +060 *
  • {@link #EXCEL}
  • +061 *
  • {@link #INFORMIX_UNLOAD}
  • +062 *
  • {@link #INFORMIX_UNLOAD_CSV}
  • +063 *
  • {@link #MYSQL}
  • +064 *
  • {@link #RFC4180}
  • +065 *
  • {@link #ORACLE}
  • +066 *
  • {@link #POSTGRESQL_CSV}
  • +067 *
  • {@link #POSTGRESQL_TEXT}
  • +068 *
  • {@link #TDF}
  • +069 *
+070 * +071 *

+072 * For example: +073 *

+074 * +075 *
+076 * CSVParser parser = 
CSVFormat.EXCEL.parse(reader);
+077 * 
+078 * +079 *

+080 * The {@link CSVParser} provides static methods to parse other input types, for example: +081 *

+082 * +083 *
+084 * CSVParser parser = 
CSVParser.parse(file, StandardCharsets.US_ASCII, CSVFormat.EXCEL);
+085 * 
+086 * +087 *

Defining formats

+088 * +089 *

+090 * You can extend a format by calling the {@code with} methods. For example: +091 *

+092 * +093 *
+094 * 
CSVFormat.EXCEL.withNullString("N/A").withIgnoreSurroundingSpaces(true);
+095 * 
+096 * +097 *

Defining column names

+098 * +099 *

+100 * To define the column names you want to use to access records, write: +101 *

+102 * +103 *
+104 * 
CSVFormat.EXCEL.withHeader("Col1", "Col2", 
"Col3");
+105 * 
+106 * +107 *

+108 * Calling {@link #withHeader(String...)} let's you use the given names to address values in a {@link CSVRecord}, and +109 * assumes that your CSV source does not contain a first record that also defines column names. +110 * +111 * If it does, then you are overriding this metadata with your names and you should skip the first record by calling +112 * {@link #withSkipHeaderRecord(boolean)} with {@code true}. +113 *

+114 * +115 *

Parsing

+116 * +117 *

+118 * You can use a format directly to parse a reader. For example, to parse an Excel file with columns header, write: +119 *

+120 * +121 *
+122 * Reader in = ...;
+123 * 
CSVFormat.EXCEL.withHeader("Col1", "Col2", 
"Col3").p

svn commit: r1035684 [45/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/comm

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref/org/apache/commons/csv/CSVParser.html
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref/org/apache/commons/csv/CSVParser.html
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/xref/org/apache/commons/csv/CSVParser.html
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,642 @@
+http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+
+CSVParser xref
+
+
+
+View 
Javadoc
+1   /*
+2* Licensed to the Apache Software Foundation (ASF) under 
one or more
+3* contributor license agreements.  See the NOTICE file 
distributed with
+4* this work for additional information regarding copyright 
ownership.
+5* The ASF licenses this file to You under the Apache 
License, Version 2.0
+6* (the "License"); you may not use this file except in 
compliance with
+7* the License.  You may obtain a copy of the License 
at
+8*
+9*  http://www.apache.org/licenses/LICENSE-2."; 
target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0
+10   *
+11   * Unless required by applicable law or agreed to in 
writing, software
+12   * distributed under the License is distributed on an "AS 
IS" BASIS,
+13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 
express or implied.
+14   * See the License for the specific language governing 
permissions and
+15   * limitations under the License.
+16   */
+17  
+18  package org.apache.commons.csv;
+19  
+20  import static 
org.apache.commons.csv.Token.Type.TOKEN;
+21  
+22  import java.io.Closeable;
+23  import java.io.File;
+24  import java.io.FileInputStream;
+25  import java.io.IOException;
+26  import java.io.InputStream;
+27  import java.io.InputStreamReader;
+28  import java.io.Reader;
+29  import java.io.StringReader;
+30  import java.net.URL;
+31  import java.nio.charset.Charset;
+32  import java.nio.file.Files;
+33  import java.nio.file.Path;
+34  import java.util.ArrayList;
+35  import java.util.Arrays;
+36  import java.util.Iterator;
+37  import java.util.LinkedHashMap;
+38  import java.util.List;
+39  import java.util.Map;
+40  import java.util.NoSuchElementException;
+41  import java.util.TreeMap;
+42  
+43  /**
+44   * Parses CSV files according to the specified 
format.
+45   *
+46   * Because CSV appears in many different dialects, 
the parser supports many formats by allowing the
+47   * specification of a {@link CSVFormat}.
+48   *
+49   * The parser works record wise. It is not possible 
to go back, once a record has been parsed from the input stream.
+50   *
+51   * 

Creating instances

+52 *

+53 * There are several static factory methods that can be used to create instances for various types of resources: +54 *

+55 *
    +56 *
  • {@link #parse(java.io.File, Charset, CSVFormat)}
  • +57 *
  • {@link #parse(String, CSVFormat)}
  • +58 *
  • {@link #parse(java.net.URL, java.nio.charset.Charset, CSVFormat)}
  • +59 *
+60 *

+61 * Alternatively parsers can also be created by passing a {@link Reader} directly to the sole constructor. +62 * +63 * For those who like fluent APIs, parsers can be created using {@link CSVFormat#parse(java.io.Reader)} as a shortcut: +64 *

+65 *
+66   * for(CSVRecord record : CSVFormat.EXCEL.parse(in)) 
{
+67   * ...
+68   * }
+69   * 
+70 * +71 *

Parsing record wise

+72 *

+73 * To parse a CSV input from a file, you write: +74 *

+75 * +76 *
+77   * File csvData = new 
File("/path/to/csv");
+78   * CSVParser parser = CSVParser.parse(csvData, 
CSVFormat.RFC4180);
+79   * for (CSVRecord csvRecord : parser) {
+80   * ...
+81   * }
+82   * 
+83 * +84 *

+85 * This will read the parse the contents of the file using the +86 * http://tools.ietf.org/html/rfc4180" target="_blank">RFC 4180 format. +87 *

+88 * +89 *

+90 * To parse CSV input in a format like Excel, you write: +91 *

+92 * +93 *
+94   * CSVParser parser = CSVParser.parse(csvData, 
CSVFormat.EXCEL);
+95   * for (CSVRecord csvRecord : parser) {
+96   * ...
+97   * }
+98   * 
+99 * +100 *

+101 * If the predefined formats don't match the format at hands, custom formats can be defined. More information about +102 * customising CSVFormats is available in {@link CSVFormat CSVFormat Javadoc}. +103 *

+104 * +105 *

Parsing into memory

+106 *

+107 * If parsing record wise is not desired, the contents of the input can be read completely into memory. +108 *

+109 * +110 *
+111  * Reader in = new 
StringReader("a;b\nc;d");
+112  * CSVParser parser = new CSVParser(in, 
C

svn commit: r1035684 [30/49] - in /websites/production/commons/content/proper/commons-csv/archives/1.6: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/comm

2018-09-25 Thread britter
Added: 
websites/production/commons/content/proper/commons-csv/archives/1.6/js/prettify.js
==
--- 
websites/production/commons/content/proper/commons-csv/archives/1.6/js/prettify.js
 (added)
+++ 
websites/production/commons/content/proper/commons-csv/archives/1.6/js/prettify.js
 Tue Sep 25 13:26:18 2018
@@ -0,0 +1,640 @@
+/**
+ *
+ * Copyright (C) 2006 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+function H() {
+var x = navigator && navigator.userAgent
+&& /\bMSIE 6\./.test(navigator.userAgent);
+H = function() {
+return x
+};
+return x
+}
+(function() {
+function x(b) {
+b = b.split(/ /g);
+var a = {};
+for ( var c = b.length; --c >= 0;) {
+var d = b[c];
+if (d)
+a[d] = null
+}
+return a
+}
+var y = "break continue do else for if return while ", U = y
++ "auto case char const default double enum extern float goto int 
long register short signed sizeof static struct switch typedef union unsigned 
void volatile ", D = U
++ "catch class delete false import new operator private protected 
public this throw true try ", I = D
++ "alignof align_union asm axiom bool concept concept_map 
const_cast constexpr decltype dynamic_cast explicit export friend inline 
late_check mutable namespace nullptr reinterpret_cast static_assert static_cast 
template typeid typename typeof using virtual wchar_t where ", J = D
++ "boolean byte extends final finally implements import instanceof 
null native package strictfp super synchronized throws transient ", V = J
++ "as base by checked decimal delegate descending event fixed 
foreach from group implicit in interface internal into is lock object out 
override orderby params readonly ref sbyte sealed stackalloc string select uint 
ulong unchecked unsafe ushort var ", K = D
++ "debugger eval export function get null set undefined var with 
Infinity NaN ", L = "caller delete die do dump elsif eval exit foreach for goto 
if import last local my next no our print package redo require sub undef unless 
until use wantarray while BEGIN END ", M = y
++ "and as assert class def del elif except exec finally from 
global import in is lambda nonlocal not or pass print raise try with yield 
False True None ", N = y
++ "alias and begin case class def defined elsif end ensure false 
in module next nil not or redo rescue retry self super then true undef unless 
until when yield BEGIN END ", O = y
++ "case done elif esac eval fi function in local set then until ", 
W = I
++ V + K + L + M + N + O;
+function X(b) {
+return b >= "a" && b <= "z" || b >= "A" && b <= "Z"
+}
+function u(b, a, c, d) {
+b.unshift(c, d || 0);
+try {
+a.splice.apply(a, b)
+} finally {
+b.splice(0, 2)
+}
+}
+var Y = (function() {
+var b = [ "!", "!=", "!==", "#", "%", "%=", "&", "&&", "&&=", "&=",
+"(", "*", "*=", "+=", ",", "-=", "->", "/", "/=", ":", "::",
+";", "<", "<<", "<<=", "<=", "=", "==", "===", ">", ">=", ">>",
+">>=", ">>>", ">>>=", "?", "@", "[", "^", "^=", "^^", "^^=",
+"{", "|", "|=", "||", "||=", "~", "break", "case", "continue",
+"delete", "do", "else", "finally", "instanceof", "return",
+"throw", "try", "typeof" ], a = 
"(?:(?:(?:^|[^0-9.])\\.{1,3})|(?:(?:^|[^\\+])\\+)|(?:(?:^|[^\\-])-)";
+for ( var c = 0; c < b.length; ++c) {
+var d = b[c];
+a += X(d.charAt(0)) ? "|\\b" + d : "|"
++ d.replace(/([^=<>:&])/g, "\\$1")
+}
+a += "|^)\\s*$";
+return new RegExp(a)
+})(), P = /&/g, Q = //g, Z = /\"/g;
+function $(b) {
+return b.replace(P, "&").replace(Q, "<").replace(R, ">")
+.replace(Z, """)
+}
+function E(b) {
+return b.replace(P, "&").replace(Q, "<").replace(R, ">")
+}
+var aa = //g, ca = /'/g, da = /"/g, ea = 
/&/g, fa = / /g;
+function ga(b) {
+var a = b.indexOf("&");
+if (a < 0)
+return b;
+for (--a; (a = b.indexOf("&#", a + 1)) >= 0;) {
+var c = b.indexOf(";", a);
+if

svn commit: r1035683 [26/32] - in /websites/production/commons/content/proper/commons-csv: ./ apidocs/ apidocs/org/apache/commons/csv/ apidocs/org/apache/commons/csv/class-use/ apidocs/src-html/org/ap

2018-09-25 Thread britter
Modified: 
websites/production/commons/content/proper/commons-csv/xref-test/org/apache/commons/csv/CSVRecordTest.html
==
--- 
websites/production/commons/content/proper/commons-csv/xref-test/org/apache/commons/csv/CSVRecordTest.html
 (original)
+++ 
websites/production/commons/content/proper/commons-csv/xref-test/org/apache/commons/csv/CSVRecordTest.html
 Tue Sep 25 13:16:01 2018
@@ -204,6 +204,6 @@
 196 }
 
 
-Copyright © 2017 https://www.apache.org/";>The 
Apache Software Foundation. All rights reserved.
+Copyright © 2018 https://www.apache.org/";>The 
Apache Software Foundation. All rights reserved.
 
 
\ No newline at end of file

Modified: 
websites/production/commons/content/proper/commons-csv/xref-test/org/apache/commons/csv/ExtendedBufferedReaderTest.html
==
--- 
websites/production/commons/content/proper/commons-csv/xref-test/org/apache/commons/csv/ExtendedBufferedReaderTest.html
 (original)
+++ 
websites/production/commons/content/proper/commons-csv/xref-test/org/apache/commons/csv/ExtendedBufferedReaderTest.html
 Tue Sep 25 13:16:01 2018
@@ -218,6 +218,6 @@
 210 }
 
 
-Copyright © 2017 https://www.apache.org/";>The 
Apache Software Foundation. All rights reserved.
+Copyright © 2018 https://www.apache.org/";>The 
Apache Software Foundation. All rights reserved.
 
 
\ No newline at end of file

Modified: 
websites/production/commons/content/proper/commons-csv/xref-test/org/apache/commons/csv/LexerTest.html
==
--- 
websites/production/commons/content/proper/commons-csv/xref-test/org/apache/commons/csv/LexerTest.html
 (original)
+++ 
websites/production/commons/content/proper/commons-csv/xref-test/org/apache/commons/csv/LexerTest.html
 Tue Sep 25 13:16:01 2018
@@ -398,6 +398,6 @@
 390 }
 
 
-Copyright © 2017 https://www.apache.org/";>The 
Apache Software Foundation. All rights reserved.
+Copyright © 2018 https://www.apache.org/";>The 
Apache Software Foundation. All rights reserved.
 
 
\ No newline at end of file




svn commit: r1035683 [11/32] - in /websites/production/commons/content/proper/commons-csv: ./ apidocs/ apidocs/org/apache/commons/csv/ apidocs/org/apache/commons/csv/class-use/ apidocs/src-html/org/ap

2018-09-25 Thread britter
Added: websites/production/commons/content/proper/commons-csv/ci-management.html
==
--- websites/production/commons/content/proper/commons-csv/ci-management.html 
(added)
+++ websites/production/commons/content/proper/commons-csv/ci-management.html 
Tue Sep 25 13:16:01 2018
@@ -0,0 +1,345 @@
+
+
+http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+  
+
+
+
+
+Commons CSV – CI Management
+
+  
+  
+
+
+  
+  
+  
+  
+
+  
+  
+
+  
+  http://commons.apache.org/"; id="bannerLeft" 
title="Apache Commons logo">
+   
 
+
+  
+   
 
+
+  
+
+
+  
+
+  http://commons.apache.org/proper/commons-csv/";>Apache Commons CSV 
™
+
+
+Last Published: 25 September 2018
+  | Version: 
1.7-SNAPSHOT
+  
+  
+
+  http://www.apachecon.com/"; class="externalLink" 
title="ApacheCon">
+ApacheCon
+  
+  
+  http://www.apache.org"; class="externalLink" 
title="Apache">
+Apache
+  
+  
+  
+Commons
+  
+
+
+
+  
+
+
+
+  
+
+  
+
+
+  Commons CSV
+
+  
+Overview
+  
+ 
+  
+Download
+  
+ 
+  
+User Guide
+  
+ 
+  http://wiki.apache.org/commons/CSV"; 
class="externalLink" title="Wiki">
+Wiki
+  
+ 
+  
+Development
+
+  
+History
+  
+ 
+  
+Mailing Lists
+  
+ 
+  
+Issue Tracking
+  
+ 
+  
+Team
+  
+ 
+  
+Source Repository
+  
+ 
+  
+Javadoc trunk
+  
+ 
+  
+Javadoc 1.6
+  
+ 
+  
+Javadoc 1.5
+  
+ 
+  
+Javadoc 1.4
+  
+ 
+  
+Javadoc 1.3
+  
+ 
+  
+Javadoc 1.2
+  
+ 
+  
+Javadoc 1.1
+  
+ 
+  
+Javadoc 1.0
+  
+ 
+  
+  Site Archives
+
+  
+CSV 1.5
+  
+ 
+  
+CSV 1.4
+  
+ 
+  
+CSV 1.3
+  
+ 
+  
+CSV 1.2
+  
+ 
+  
+CSV 1.1
+  
+ 
+  
+CSV 1.0
+  
+ 
+  
+Project Documentation
+   


 
+  
+Project Information
+
+  
+  
+About
+  
+ 
+  
+Summary
+  
+ 
+  
+Team
+  
+ 
+  
+Source Code Management
+  
+ 
+  
+Issue Management
+  
+ 
+  
+Mailing Lists
+  
+ 
+  
+Dependency Information
+  
+ 
+  
+Dependencies
+  
+ 
+  
+Dependency Convergence
+  
+   

svn commit: r1035683 [27/32] - in /websites/production/commons/content/proper/commons-csv: ./ apidocs/ apidocs/org/apache/commons/csv/ apidocs/org/apache/commons/csv/class-use/ apidocs/src-html/org/ap

2018-09-25 Thread britter
Modified: 
websites/production/commons/content/proper/commons-csv/xref-test/org/apache/commons/csv/PerformanceTest.html
==
--- 
websites/production/commons/content/proper/commons-csv/xref-test/org/apache/commons/csv/PerformanceTest.html
 (original)
+++ 
websites/production/commons/content/proper/commons-csv/xref-test/org/apache/commons/csv/PerformanceTest.html
 Tue Sep 25 13:16:01 2018
@@ -29,289 +29,335 @@
 21  import java.io.File;
 22  import java.io.FileInputStream;
 23  import java.io.FileOutputStream;
-24  import java.io.FileReader;
-25  import java.io.IOException;
-26  import java.io.InputStream;
+24  import java.io.IOException;
+25  import java.io.InputStream;
+26  import java.io.InputStreamReader;
 27  import java.io.OutputStream;
-28  import java.lang.reflect.Constructor;
-29  import java.lang.reflect.InvocationTargetException;
-30  import java.util.zip.GZIPInputStream;
-31  
-32  import org.apache.commons.io.IOUtils;
-33  
-34  /**
-35   * Basic test harness.
-36   *
-37   * Requires test file to be downloaded 
separately.
-38   */
-39  
@SuppressWarnings("boxing")
-40  public class 
PerformanceTest
 {
-41  
-42  private static final 
String[] PROPS = {
-43  "java.version",  // Java Runtime Environment version
-44  "java.vendor",   // Java Runtime Environment vendor
-45  //"java.vm.specification.version", // Java Virtual 
Machine specification version
-46  //"java.vm.specification.vendor",  // Java Virtual 
Machine specification vendor
-47  //"java.vm.specification.name",// Java Virtual 
Machine specification name
-48  "java.vm.version",   // Java Virtual Machine implementation version
-49  //"java.vm.vendor",// Java Virtual 
Machine implementation vendor
-50  "java.vm.name",  // Java Virtual Machine implementation name
-51  //"java.specification.version",// Java Runtime 
Environment specification version
-52  //"java.specification.vendor", // Java Runtime 
Environment specification vendor
-53  //"java.specification.name",   // Java Runtime 
Environment specification name
-54  
-55  "os.name",   // Operating system name
-56  "os.arch",   // Operating system architecture
-57  "os.version",// Operating system version
+28  import java.io.Reader;
+29  import java.lang.reflect.Constructor;
+30  import java.lang.reflect.InvocationTargetException;
+31  import java.nio.charset.StandardCharsets;
+32  import java.nio.file.Files;
+33  import java.nio.file.Paths;
+34  import java.util.zip.GZIPInputStream;
+35  
+36  import org.apache.commons.io.IOUtils;
+37  
+38  /**
+39   * Basic test harness.
+40   *
+41   * Requires test file to be downloaded 
separately.
+42   */
+43  
@SuppressWarnings("boxing")
+44  public class 
PerformanceTest
 {
+45  
+46  private static final 
String[] PROPS = {
+47  "java.version",  // Java Runtime Environment version
+48  "java.vendor",   // Java Runtime Environment vendor
+49  //"java.vm.specification.version", // Java Virtual 
Machine specification version
+50  //"java.vm.specification.vendor",  // Java Virtual 
Machine specification vendor
+51  //"java.vm.specification.name",// Java Virtual 
Machine specification name
+52  "java.vm.version",   // Java Virtual Machine implementation version
+53  //"java.vm.vendor",// Java Virtual 
Machine implementation vendor
+54  "java.vm.name",  // Java Virtual Machine implementation name
+55  //"java.specification.version",// Java Runtime 
Environment specification version
+56  //"java.specification.vendor", // Java Runtime 
Environment specification vendor
+57  //"java.specification.name",   // Java Runtime 
Environment specification name
 58  
-59  };
-60  
-61  private static int 
max = 10;
-62  
-63  private static int 
num = 0; // number of elapsed times recorded
-64  private static long[] 
elapsedTimes = new long[max];
+59  "os.name",   // Operating system name
+60  "os.arch",   // Operating system architecture
+61  "os.version",// Operating system version
+62  };
+63  
+64  private static int 
max = 11; // skip first test
 65  
-66  private static final 
CSVFormat format = CSVFormat.EXCEL;
-67  
-68  private static final 
File BIG_FILE = new 
File(System.getProperty("java.io.tmpdir"), 
"worldcitiespop.txt");
-69  
-70  public static 
void main(final String [] args) throws Exception {
-71  if (BIG_FILE.exists()) {
-72  
System.out.println(String.format("Found test fixture 
%s: %

svn commit: r1035683 [5/32] - in /websites/production/commons/content/proper/commons-csv: ./ apidocs/ apidocs/org/apache/commons/csv/ apidocs/org/apache/commons/csv/class-use/ apidocs/src-html/org/apa

2018-09-25 Thread britter
Modified: 
websites/production/commons/content/proper/commons-csv/apidocs/org/apache/commons/csv/QuoteMode.html
==
--- 
websites/production/commons/content/proper/commons-csv/apidocs/org/apache/commons/csv/QuoteMode.html
 (original)
+++ 
websites/production/commons/content/proper/commons-csv/apidocs/org/apache/commons/csv/QuoteMode.html
 Tue Sep 25 13:16:01 2018
@@ -1,10 +1,10 @@
 http://www.w3.org/TR/html4/loose.dtd";>
 
-
+
 
 
 
-QuoteMode (Apache Commons CSV 1.5.1-SNAPSHOT API)
+QuoteMode (Apache Commons CSV 1.7-SNAPSHOT API)
 
 
 
@@ -12,7 +12,7 @@