Added: dev/commons/csv/1.8-RC2/site/xref-test/org/apache/commons/csv/issues/package-summary.html ============================================================================== --- dev/commons/csv/1.8-RC2/site/xref-test/org/apache/commons/csv/issues/package-summary.html (added) +++ dev/commons/csv/1.8-RC2/site/xref-test/org/apache/commons/csv/issues/package-summary.html Sun Feb 2 01:23:05 2020 @@ -0,0 +1,142 @@ + +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xml:lang="en" lang="en"> + <!-- generated by Apache Maven JXR (jdk8) --> + <head> + <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> + <title>Apache Commons CSV 1.8 Reference Package org.apache.commons.csv.issues</title> + <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" /> + </head> + + <body> + <div class="topNav"> + <a name="navbar_top"><!-- --></a> + <a href="#skip-navbar_top" title="Skip navigation links"></a> + <a name="navbar_top_firstrow"><!-- --></a> + <ul class="navList" title="Navigation"> + <li><a href="../../../../../overview-summary.html">Overview</a></li> + <li class="navBarCell1Rev">Package</li> + <li>Class</li> + <li>Use</li> + <li>Tree</li> + <li>Deprecated</li> + <li>Index</li> + <li>Help</li> + </ul> + <div class="aboutLanguage"><em><strong>Apache Commons CSV 1.8 Reference</strong></em></div> + </div> + <div class="subNav"> + <ul class="navList"> + <li>Prev</li> + <li>Next</li> + </ul> + <ul class="navList"> + <li><a href="../../../../../index.html?overview-summary.html" target="_top">Frames</a></li> + <li><a href="package-summary.html" target="_top">No Frames</a></li> + </ul> + <ul class="navList" id="allclasses_navbar_top"> + <li>All Classes</li> + </ul> + <div> + </div> + <a name="skip-navbar_top"><!-- --></a> + </div> + + <div class="header"> + <h1 title="Package" class="title">Package org.apache.commons.csv.issues</h1> + </div> + <div class="contentContainer"> + <ul class="blockList"> + <li class="blockList"> + <table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation"> + <caption><span>Class Summary</span><span class="tabEnd"> </span></caption> + <thead> + <tr> + <th class="colFirst colLast" scope="col">Class</th> + </tr> + </thead> + <tbody> + <tr class="altColor"> + <td class="colFirst colLast"> + <a href="JiraCsv164Test.html#JiraCsv164Test" target="classFrame" title="class in org.apache.commons.csv.issues">JiraCsv164Test</a> + </td> + </tr> + <tr class="rowColor"> + <td class="colFirst colLast"> + <a href="JiraCsv167Test.html#JiraCsv167Test" target="classFrame" title="class in org.apache.commons.csv.issues">JiraCsv167Test</a> + </td> + </tr> + <tr class="altColor"> + <td class="colFirst colLast"> + <a href="JiraCsv198Test.html#JiraCsv198Test" target="classFrame" title="class in org.apache.commons.csv.issues">JiraCsv198Test</a> + </td> + </tr> + <tr class="rowColor"> + <td class="colFirst colLast"> + <a href="JiraCsv203Test.html#JiraCsv203Test" target="classFrame" title="class in org.apache.commons.csv.issues">JiraCsv203Test</a> + </td> + </tr> + <tr class="altColor"> + <td class="colFirst colLast"> + <a href="JiraCsv213Test.html#JiraCsv213Test" target="classFrame" title="class in org.apache.commons.csv.issues">JiraCsv213Test</a> + </td> + </tr> + <tr class="rowColor"> + <td class="colFirst colLast"> + <a href="JiraCsv247Test.html#JiraCsv247Test" target="classFrame" title="class in org.apache.commons.csv.issues">JiraCsv247Test</a> + </td> + </tr> + <tr class="altColor"> + <td class="colFirst colLast"> + <a href="JiraCsv248Test.html#JiraCsv248Test" target="classFrame" title="class in org.apache.commons.csv.issues">JiraCsv248Test</a> + </td> + </tr> + <tr class="rowColor"> + <td class="colFirst colLast"> + <a href="JiraCsv249Test.html#JiraCsv249Test" target="classFrame" title="class in org.apache.commons.csv.issues">JiraCsv249Test</a> + </td> + </tr> + </tbody> + </table> + </li> + </ul> + </div> + + <div class="bottomNav"> + <a name="navbar_bottom"><!-- --></a> + <a href="#skip-navbar_bottom" title="Skip navigation links"></a> + <a name="navbar_bottom_firstrow"><!-- --></a> + <ul class="navList" title="Navigation"> + <li><a href="../../../../../overview-summary.html">Overview</a></li> + <li class="navBarCell1Rev">Package</li> + <li>Class</li> + <li>Use</li> + <li>Tree</li> + <li>Deprecated</li> + <li>Index</li> + <li>Help</li> + </ul> + <div class="aboutLanguage"><em><strong>Apache Commons CSV 1.8 Reference</strong></em></div> + </div> + <div class="subNav"> + <ul class="navList"> + <li>Prev</li> + <li>Next</li> + </ul> + <ul class="navList"> + <li><a href="../../../../../index.html?overview-summary.html" target="_top">Frames</a></li> + <li><a href="package-summary.html" target="_top">No Frames</a></li> + </ul> + <ul class="navList" id="allclasses_navbar_bottom"> + <li>All Classes</li> + </ul> + <div> + </div> + <a name="skip-navbar_bottom"><!-- --></a> + </div> + + <div id="footer"> + Copyright © 2020 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. + </div> + </body> +</html> \ No newline at end of file
Added: dev/commons/csv/1.8-RC2/site/xref-test/org/apache/commons/csv/package-frame.html ============================================================================== --- dev/commons/csv/1.8-RC2/site/xref-test/org/apache/commons/csv/package-frame.html (added) +++ dev/commons/csv/1.8-RC2/site/xref-test/org/apache/commons/csv/package-frame.html Sun Feb 2 01:23:05 2020 @@ -0,0 +1,72 @@ + +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xml:lang="en" lang="en"> + <!-- generated by Apache Maven JXR (jdk8) --> + <head> + <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> + <title>Apache Commons CSV 1.8 Reference Package org.apache.commons.csv</title> + <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="style" /> + </head> + <body> + <h1 class="bar"><a href="package-summary.html" target="classFrame">org.apache.commons.csv</a></h1> + <div class="indexContainer"> + <h2 title="Classes">Classes</h2> + <ul title="Classes"> + <li> + <a href="AssertionsTest.html#AssertionsTest" target="classFrame">AssertionsTest</a> + </li> + <li> + <a href="CSVFileParserTest.html#CSVFileParserTest" target="classFrame">CSVFileParserTest</a> + </li> + <li> + <a href="CSVFormatPredefinedTest.html#CSVFormatPredefinedTest" target="classFrame">CSVFormatPredefinedTest</a> + </li> + <li> + <a href="CSVFormatTest.html#CSVFormatTest" target="classFrame">CSVFormatTest</a> + </li> + <li> + <a href="CSVFormatTest.html#CSVFormatTest.EmptyEnum" target="classFrame">CSVFormatTest.EmptyEnum</a> + </li> + <li> + <a href="CSVFormatTest.html#CSVFormatTest.Header" target="classFrame">CSVFormatTest.Header</a> + </li> + <li> + <a href="CSVParserTest.html#CSVParserTest" target="classFrame">CSVParserTest</a> + </li> + <li> + <a href="CSVPrinterTest.html#CSVPrinterTest" target="classFrame">CSVPrinterTest</a> + </li> + <li> + <a href="CSVRecordTest.html#CSVRecordTest" target="classFrame">CSVRecordTest</a> + </li> + <li> + <a href="CSVRecordTest.html#CSVRecordTest.EnumFixture" target="classFrame">CSVRecordTest.EnumFixture</a> + </li> + <li> + <a href="ExtendedBufferedReaderTest.html#ExtendedBufferedReaderTest" target="classFrame">ExtendedBufferedReaderTest</a> + </li> + <li> + <a href="LexerTest.html#LexerTest" target="classFrame">LexerTest</a> + </li> + <li> + <a href="PerformanceTest.html#PerformanceTest" target="classFrame">PerformanceTest</a> + </li> + <li> + <a href="PerformanceTest.html#PerformanceTest.CSVParserFactory" target="classFrame">PerformanceTest.CSVParserFactory</a> + </li> + <li> + <a href="PerformanceTest.html#PerformanceTest.Stats" target="classFrame">PerformanceTest.Stats</a> + </li> + <li> + <a href="TokenMatchers.html#TokenMatchers" target="classFrame">TokenMatchers</a> + </li> + <li> + <a href="TokenMatchersTest.html#TokenMatchersTest" target="classFrame">TokenMatchersTest</a> + </li> + <li> + <a href="Utils.html#Utils" target="classFrame">Utils</a> + </li> + </ul> + </div> + </body> +</html> \ No newline at end of file Added: dev/commons/csv/1.8-RC2/site/xref-test/org/apache/commons/csv/package-summary.html ============================================================================== --- dev/commons/csv/1.8-RC2/site/xref-test/org/apache/commons/csv/package-summary.html (added) +++ dev/commons/csv/1.8-RC2/site/xref-test/org/apache/commons/csv/package-summary.html Sun Feb 2 01:23:05 2020 @@ -0,0 +1,192 @@ + +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xml:lang="en" lang="en"> + <!-- generated by Apache Maven JXR (jdk8) --> + <head> + <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> + <title>Apache Commons CSV 1.8 Reference Package org.apache.commons.csv</title> + <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="style" /> + </head> + + <body> + <div class="topNav"> + <a name="navbar_top"><!-- --></a> + <a href="#skip-navbar_top" title="Skip navigation links"></a> + <a name="navbar_top_firstrow"><!-- --></a> + <ul class="navList" title="Navigation"> + <li><a href="../../../../overview-summary.html">Overview</a></li> + <li class="navBarCell1Rev">Package</li> + <li>Class</li> + <li>Use</li> + <li>Tree</li> + <li>Deprecated</li> + <li>Index</li> + <li>Help</li> + </ul> + <div class="aboutLanguage"><em><strong>Apache Commons CSV 1.8 Reference</strong></em></div> + </div> + <div class="subNav"> + <ul class="navList"> + <li>Prev</li> + <li>Next</li> + </ul> + <ul class="navList"> + <li><a href="../../../../index.html?overview-summary.html" target="_top">Frames</a></li> + <li><a href="package-summary.html" target="_top">No Frames</a></li> + </ul> + <ul class="navList" id="allclasses_navbar_top"> + <li>All Classes</li> + </ul> + <div> + </div> + <a name="skip-navbar_top"><!-- --></a> + </div> + + <div class="header"> + <h1 title="Package" class="title">Package org.apache.commons.csv</h1> + </div> + <div class="contentContainer"> + <ul class="blockList"> + <li class="blockList"> + <table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation"> + <caption><span>Class Summary</span><span class="tabEnd"> </span></caption> + <thead> + <tr> + <th class="colFirst colLast" scope="col">Class</th> + </tr> + </thead> + <tbody> + <tr class="altColor"> + <td class="colFirst colLast"> + <a href="AssertionsTest.html#AssertionsTest" target="classFrame" title="class in org.apache.commons.csv">AssertionsTest</a> + </td> + </tr> + <tr class="rowColor"> + <td class="colFirst colLast"> + <a href="CSVFileParserTest.html#CSVFileParserTest" target="classFrame" title="class in org.apache.commons.csv">CSVFileParserTest</a> + </td> + </tr> + <tr class="altColor"> + <td class="colFirst colLast"> + <a href="CSVFormatPredefinedTest.html#CSVFormatPredefinedTest" target="classFrame" title="class in org.apache.commons.csv">CSVFormatPredefinedTest</a> + </td> + </tr> + <tr class="rowColor"> + <td class="colFirst colLast"> + <a href="CSVFormatTest.html#CSVFormatTest" target="classFrame" title="class in org.apache.commons.csv">CSVFormatTest</a> + </td> + </tr> + <tr class="altColor"> + <td class="colFirst colLast"> + <a href="CSVFormatTest.html#CSVFormatTest.EmptyEnum" target="classFrame" title="class in org.apache.commons.csv">CSVFormatTest.EmptyEnum</a> + </td> + </tr> + <tr class="rowColor"> + <td class="colFirst colLast"> + <a href="CSVFormatTest.html#CSVFormatTest.Header" target="classFrame" title="class in org.apache.commons.csv">CSVFormatTest.Header</a> + </td> + </tr> + <tr class="altColor"> + <td class="colFirst colLast"> + <a href="CSVParserTest.html#CSVParserTest" target="classFrame" title="class in org.apache.commons.csv">CSVParserTest</a> + </td> + </tr> + <tr class="rowColor"> + <td class="colFirst colLast"> + <a href="CSVPrinterTest.html#CSVPrinterTest" target="classFrame" title="class in org.apache.commons.csv">CSVPrinterTest</a> + </td> + </tr> + <tr class="altColor"> + <td class="colFirst colLast"> + <a href="CSVRecordTest.html#CSVRecordTest" target="classFrame" title="class in org.apache.commons.csv">CSVRecordTest</a> + </td> + </tr> + <tr class="rowColor"> + <td class="colFirst colLast"> + <a href="CSVRecordTest.html#CSVRecordTest.EnumFixture" target="classFrame" title="class in org.apache.commons.csv">CSVRecordTest.EnumFixture</a> + </td> + </tr> + <tr class="altColor"> + <td class="colFirst colLast"> + <a href="ExtendedBufferedReaderTest.html#ExtendedBufferedReaderTest" target="classFrame" title="class in org.apache.commons.csv">ExtendedBufferedReaderTest</a> + </td> + </tr> + <tr class="rowColor"> + <td class="colFirst colLast"> + <a href="LexerTest.html#LexerTest" target="classFrame" title="class in org.apache.commons.csv">LexerTest</a> + </td> + </tr> + <tr class="altColor"> + <td class="colFirst colLast"> + <a href="PerformanceTest.html#PerformanceTest" target="classFrame" title="class in org.apache.commons.csv">PerformanceTest</a> + </td> + </tr> + <tr class="rowColor"> + <td class="colFirst colLast"> + <a href="PerformanceTest.html#PerformanceTest.CSVParserFactory" target="classFrame" title="class in org.apache.commons.csv">PerformanceTest.CSVParserFactory</a> + </td> + </tr> + <tr class="altColor"> + <td class="colFirst colLast"> + <a href="PerformanceTest.html#PerformanceTest.Stats" target="classFrame" title="class in org.apache.commons.csv">PerformanceTest.Stats</a> + </td> + </tr> + <tr class="rowColor"> + <td class="colFirst colLast"> + <a href="TokenMatchers.html#TokenMatchers" target="classFrame" title="class in org.apache.commons.csv">TokenMatchers</a> + </td> + </tr> + <tr class="altColor"> + <td class="colFirst colLast"> + <a href="TokenMatchersTest.html#TokenMatchersTest" target="classFrame" title="class in org.apache.commons.csv">TokenMatchersTest</a> + </td> + </tr> + <tr class="rowColor"> + <td class="colFirst colLast"> + <a href="Utils.html#Utils" target="classFrame" title="class in org.apache.commons.csv">Utils</a> + </td> + </tr> + </tbody> + </table> + </li> + </ul> + </div> + + <div class="bottomNav"> + <a name="navbar_bottom"><!-- --></a> + <a href="#skip-navbar_bottom" title="Skip navigation links"></a> + <a name="navbar_bottom_firstrow"><!-- --></a> + <ul class="navList" title="Navigation"> + <li><a href="../../../../overview-summary.html">Overview</a></li> + <li class="navBarCell1Rev">Package</li> + <li>Class</li> + <li>Use</li> + <li>Tree</li> + <li>Deprecated</li> + <li>Index</li> + <li>Help</li> + </ul> + <div class="aboutLanguage"><em><strong>Apache Commons CSV 1.8 Reference</strong></em></div> + </div> + <div class="subNav"> + <ul class="navList"> + <li>Prev</li> + <li>Next</li> + </ul> + <ul class="navList"> + <li><a href="../../../../index.html?overview-summary.html" target="_top">Frames</a></li> + <li><a href="package-summary.html" target="_top">No Frames</a></li> + </ul> + <ul class="navList" id="allclasses_navbar_bottom"> + <li>All Classes</li> + </ul> + <div> + </div> + <a name="skip-navbar_bottom"><!-- --></a> + </div> + + <div id="footer"> + Copyright © 2020 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. + </div> + </body> +</html> \ No newline at end of file Added: dev/commons/csv/1.8-RC2/site/xref-test/org/apache/commons/csv/perf/PerformanceTest.html ============================================================================== --- dev/commons/csv/1.8-RC2/site/xref-test/org/apache/commons/csv/perf/PerformanceTest.html (added) +++ dev/commons/csv/1.8-RC2/site/xref-test/org/apache/commons/csv/perf/PerformanceTest.html Sun Feb 2 01:23:05 2020 @@ -0,0 +1,141 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head><meta http-equiv="content-type" content="text/html; charset=UTF-8" /> +<title>PerformanceTest xref</title> +<link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" /> +</head> +<body> +<div id="overview"><a href="../../../../../../testapidocs/org/apache/commons/csv/perf/PerformanceTest.html">View Javadoc</a></div><pre> +<a class="jxr_linenumber" name="L1" href="#L1">1</a> <em class="jxr_comment">/*</em> +<a class="jxr_linenumber" name="L2" href="#L2">2</a> <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</em> +<a class="jxr_linenumber" name="L3" href="#L3">3</a> <em class="jxr_comment"> * contributor license agreements. See the NOTICE file distributed with</em> +<a class="jxr_linenumber" name="L4" href="#L4">4</a> <em class="jxr_comment"> * this work for additional information regarding copyright ownership.</em> +<a class="jxr_linenumber" name="L5" href="#L5">5</a> <em class="jxr_comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</em> +<a class="jxr_linenumber" name="L6" href="#L6">6</a> <em class="jxr_comment"> * (the "License"); you may not use this file except in compliance with</em> +<a class="jxr_linenumber" name="L7" href="#L7">7</a> <em class="jxr_comment"> * the License. You may obtain a copy of the License at</em> +<a class="jxr_linenumber" name="L8" href="#L8">8</a> <em class="jxr_comment"> *</em> +<a class="jxr_linenumber" name="L9" href="#L9">9</a> <em class="jxr_comment"> * <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em> +<a class="jxr_linenumber" name="L10" href="#L10">10</a> <em class="jxr_comment"> *</em> +<a class="jxr_linenumber" name="L11" href="#L11">11</a> <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing, software</em> +<a class="jxr_linenumber" name="L12" href="#L12">12</a> <em class="jxr_comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em> +<a class="jxr_linenumber" name="L13" href="#L13">13</a> <em class="jxr_comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em> +<a class="jxr_linenumber" name="L14" href="#L14">14</a> <em class="jxr_comment"> * See the License for the specific language governing permissions and</em> +<a class="jxr_linenumber" name="L15" href="#L15">15</a> <em class="jxr_comment"> * limitations under the License.</em> +<a class="jxr_linenumber" name="L16" href="#L16">16</a> <em class="jxr_comment"> */</em> +<a class="jxr_linenumber" name="L17" href="#L17">17</a> +<a class="jxr_linenumber" name="L18" href="#L18">18</a> <strong class="jxr_keyword">package</strong> org.apache.commons.csv.perf; +<a class="jxr_linenumber" name="L19" href="#L19">19</a> +<a class="jxr_linenumber" name="L20" href="#L20">20</a> <strong class="jxr_keyword">import</strong> java.io.BufferedReader; +<a class="jxr_linenumber" name="L21" href="#L21">21</a> <strong class="jxr_keyword">import</strong> java.io.File; +<a class="jxr_linenumber" name="L22" href="#L22">22</a> <strong class="jxr_keyword">import</strong> java.io.FileInputStream; +<a class="jxr_linenumber" name="L23" href="#L23">23</a> <strong class="jxr_keyword">import</strong> java.io.FileNotFoundException; +<a class="jxr_linenumber" name="L24" href="#L24">24</a> <strong class="jxr_keyword">import</strong> java.io.FileOutputStream; +<a class="jxr_linenumber" name="L25" href="#L25">25</a> <strong class="jxr_keyword">import</strong> java.io.FileReader; +<a class="jxr_linenumber" name="L26" href="#L26">26</a> <strong class="jxr_keyword">import</strong> java.io.IOException; +<a class="jxr_linenumber" name="L27" href="#L27">27</a> <strong class="jxr_keyword">import</strong> java.io.InputStream; +<a class="jxr_linenumber" name="L28" href="#L28">28</a> <strong class="jxr_keyword">import</strong> java.io.OutputStream; +<a class="jxr_linenumber" name="L29" href="#L29">29</a> <strong class="jxr_keyword">import</strong> java.io.Reader; +<a class="jxr_linenumber" name="L30" href="#L30">30</a> <strong class="jxr_keyword">import</strong> java.util.zip.GZIPInputStream; +<a class="jxr_linenumber" name="L31" href="#L31">31</a> +<a class="jxr_linenumber" name="L32" href="#L32">32</a> <strong class="jxr_keyword">import</strong> org.apache.commons.csv.CSVFormat; +<a class="jxr_linenumber" name="L33" href="#L33">33</a> <strong class="jxr_keyword">import</strong> org.apache.commons.csv.CSVRecord; +<a class="jxr_linenumber" name="L34" href="#L34">34</a> <strong class="jxr_keyword">import</strong> org.apache.commons.io.IOUtils; +<a class="jxr_linenumber" name="L35" href="#L35">35</a> <strong class="jxr_keyword">import</strong> org.junit.jupiter.api.BeforeAll; +<a class="jxr_linenumber" name="L36" href="#L36">36</a> <strong class="jxr_keyword">import</strong> org.junit.jupiter.api.Test; +<a class="jxr_linenumber" name="L37" href="#L37">37</a> +<a class="jxr_linenumber" name="L38" href="#L38">38</a> <em class="jxr_javadoccomment">/**</em> +<a class="jxr_linenumber" name="L39" href="#L39">39</a> <em class="jxr_javadoccomment"> * Tests performance.</em> +<a class="jxr_linenumber" name="L40" href="#L40">40</a> <em class="jxr_javadoccomment"> *</em> +<a class="jxr_linenumber" name="L41" href="#L41">41</a> <em class="jxr_javadoccomment"> * To run this test, use: mvn test -Dtest=PerformanceTest</em> +<a class="jxr_linenumber" name="L42" href="#L42">42</a> <em class="jxr_javadoccomment"> */</em> +<a class="jxr_linenumber" name="L43" href="#L43">43</a> @SuppressWarnings(<span class="jxr_string">"boxing"</span>) <em class="jxr_comment">// test code</em> +<a class="jxr_linenumber" name="L44" href="#L44">44</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a name="PerformanceTest" href="../../../../../org/apache/commons/csv/perf/PerformanceTest.html#PerformanceTest">PerformanceTest</a> { +<a class="jxr_linenumber" name="L45" href="#L45">45</a> +<a class="jxr_linenumber" name="L46" href="#L46">46</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> max = 10; +<a class="jxr_linenumber" name="L47" href="#L47">47</a> +<a class="jxr_linenumber" name="L48" href="#L48">48</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> File BIG_FILE = <strong class="jxr_keyword">new</strong> File(System.getProperty(<span class="jxr_string">"java.io.tmpdir"</span>), <span class="jxr_string">"worldcitiespop.txt"</span>); +<a class="jxr_linenumber" name="L49" href="#L49">49</a> +<a class="jxr_linenumber" name="L50" href="#L50">50</a> @BeforeAll +<a class="jxr_linenumber" name="L51" href="#L51">51</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">void</strong> setUpClass() <strong class="jxr_keyword">throws</strong> FileNotFoundException, IOException { +<a class="jxr_linenumber" name="L52" href="#L52">52</a> <strong class="jxr_keyword">if</strong> (BIG_FILE.exists()) { +<a class="jxr_linenumber" name="L53" href="#L53">53</a> System.out.println(String.format(<span class="jxr_string">"Found test fixture %s: %,d bytes."</span>, BIG_FILE, BIG_FILE.length())); +<a class="jxr_linenumber" name="L54" href="#L54">54</a> <strong class="jxr_keyword">return</strong>; +<a class="jxr_linenumber" name="L55" href="#L55">55</a> } +<a class="jxr_linenumber" name="L56" href="#L56">56</a> System.out.println(<span class="jxr_string">"Decompressing test fixture "</span> + BIG_FILE + <span class="jxr_string">"..."</span>); +<a class="jxr_linenumber" name="L57" href="#L57">57</a> <strong class="jxr_keyword">try</strong> (<strong class="jxr_keyword">final</strong> InputStream input = <strong class="jxr_keyword">new</strong> GZIPInputStream( +<a class="jxr_linenumber" name="L58" href="#L58">58</a> <strong class="jxr_keyword">new</strong> FileInputStream(<span class="jxr_string">"src/test/resources/perf/worldcitiespop.txt.gz"</span>)); +<a class="jxr_linenumber" name="L59" href="#L59">59</a> <strong class="jxr_keyword">final</strong> OutputStream output = <strong class="jxr_keyword">new</strong> FileOutputStream(BIG_FILE)) { +<a class="jxr_linenumber" name="L60" href="#L60">60</a> IOUtils.copy(input, output); +<a class="jxr_linenumber" name="L61" href="#L61">61</a> System.out.println(String.format(<span class="jxr_string">"Decompressed test fixture %s: %,d bytes."</span>, BIG_FILE, BIG_FILE.length())); +<a class="jxr_linenumber" name="L62" href="#L62">62</a> } +<a class="jxr_linenumber" name="L63" href="#L63">63</a> } +<a class="jxr_linenumber" name="L64" href="#L64">64</a> +<a class="jxr_linenumber" name="L65" href="#L65">65</a> <strong class="jxr_keyword">private</strong> BufferedReader createBufferedReader() <strong class="jxr_keyword">throws</strong> IOException { +<a class="jxr_linenumber" name="L66" href="#L66">66</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">new</strong> BufferedReader(<strong class="jxr_keyword">new</strong> FileReader(BIG_FILE)); +<a class="jxr_linenumber" name="L67" href="#L67">67</a> } +<a class="jxr_linenumber" name="L68" href="#L68">68</a> +<a class="jxr_linenumber" name="L69" href="#L69">69</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">long</strong> parse(<strong class="jxr_keyword">final</strong> Reader in, <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> traverseColumns) <strong class="jxr_keyword">throws</strong> IOException { +<a class="jxr_linenumber" name="L70" href="#L70">70</a> <strong class="jxr_keyword">final</strong> CSVFormat format = CSVFormat.DEFAULT.withIgnoreSurroundingSpaces(false); +<a class="jxr_linenumber" name="L71" href="#L71">71</a> <strong class="jxr_keyword">long</strong> recordCount = 0; +<a class="jxr_linenumber" name="L72" href="#L72">72</a> <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">final</strong> CSVRecord record : format.parse(in)) { +<a class="jxr_linenumber" name="L73" href="#L73">73</a> recordCount++; +<a class="jxr_linenumber" name="L74" href="#L74">74</a> <strong class="jxr_keyword">if</strong> (traverseColumns) { +<a class="jxr_linenumber" name="L75" href="#L75">75</a> <strong class="jxr_keyword">for</strong> (@SuppressWarnings(<span class="jxr_string">"unused"</span>) <strong class="jxr_keyword">final</strong> String value : record) { +<a class="jxr_linenumber" name="L76" href="#L76">76</a> <em class="jxr_comment">// do nothing for now</em> +<a class="jxr_linenumber" name="L77" href="#L77">77</a> } +<a class="jxr_linenumber" name="L78" href="#L78">78</a> } +<a class="jxr_linenumber" name="L79" href="#L79">79</a> } +<a class="jxr_linenumber" name="L80" href="#L80">80</a> <strong class="jxr_keyword">return</strong> recordCount; +<a class="jxr_linenumber" name="L81" href="#L81">81</a> } +<a class="jxr_linenumber" name="L82" href="#L82">82</a> +<a class="jxr_linenumber" name="L83" href="#L83">83</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> println(<strong class="jxr_keyword">final</strong> String s) { +<a class="jxr_linenumber" name="L84" href="#L84">84</a> System.out.println(s); +<a class="jxr_linenumber" name="L85" href="#L85">85</a> } +<a class="jxr_linenumber" name="L86" href="#L86">86</a> +<a class="jxr_linenumber" name="L87" href="#L87">87</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">long</strong> readAll(<strong class="jxr_keyword">final</strong> BufferedReader in) <strong class="jxr_keyword">throws</strong> IOException { +<a class="jxr_linenumber" name="L88" href="#L88">88</a> <strong class="jxr_keyword">long</strong> count = 0; +<a class="jxr_linenumber" name="L89" href="#L89">89</a> <strong class="jxr_keyword">while</strong> (in.readLine() != <strong class="jxr_keyword">null</strong>) { +<a class="jxr_linenumber" name="L90" href="#L90">90</a> count++; +<a class="jxr_linenumber" name="L91" href="#L91">91</a> } +<a class="jxr_linenumber" name="L92" href="#L92">92</a> <strong class="jxr_keyword">return</strong> count; +<a class="jxr_linenumber" name="L93" href="#L93">93</a> } +<a class="jxr_linenumber" name="L94" href="#L94">94</a> +<a class="jxr_linenumber" name="L95" href="#L95">95</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">long</strong> testParseBigFile(<strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> traverseColumns) <strong class="jxr_keyword">throws</strong> Exception { +<a class="jxr_linenumber" name="L96" href="#L96">96</a> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> startMillis = System.currentTimeMillis(); +<a class="jxr_linenumber" name="L97" href="#L97">97</a> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> count = <strong class="jxr_keyword">this</strong>.parse(<strong class="jxr_keyword">this</strong>.createBufferedReader(), traverseColumns); +<a class="jxr_linenumber" name="L98" href="#L98">98</a> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> totalMillis = System.currentTimeMillis() - startMillis; +<a class="jxr_linenumber" name="L99" href="#L99">99</a> <strong class="jxr_keyword">this</strong>.println(String.format(<span class="jxr_string">"File parsed in %,d milliseconds with Commons CSV: %,d lines."</span>, totalMillis, count)); +<a class="jxr_linenumber" name="L100" href="#L100">100</a> <strong class="jxr_keyword">return</strong> totalMillis; +<a class="jxr_linenumber" name="L101" href="#L101">101</a> } +<a class="jxr_linenumber" name="L102" href="#L102">102</a> +<a class="jxr_linenumber" name="L103" href="#L103">103</a> @Test +<a class="jxr_linenumber" name="L104" href="#L104">104</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testParseBigFileRepeat() <strong class="jxr_keyword">throws</strong> Exception { +<a class="jxr_linenumber" name="L105" href="#L105">105</a> <strong class="jxr_keyword">long</strong> bestTime = Long.MAX_VALUE; +<a class="jxr_linenumber" name="L106" href="#L106">106</a> <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> i = 0; i < <strong class="jxr_keyword">this</strong>.max; i++) { +<a class="jxr_linenumber" name="L107" href="#L107">107</a> bestTime = Math.min(<strong class="jxr_keyword">this</strong>.testParseBigFile(false), bestTime); +<a class="jxr_linenumber" name="L108" href="#L108">108</a> } +<a class="jxr_linenumber" name="L109" href="#L109">109</a> <strong class="jxr_keyword">this</strong>.println(String.format(<span class="jxr_string">"Best time out of %,d is %,d milliseconds."</span>, <strong class="jxr_keyword">this</strong>.max, bestTime)); +<a class="jxr_linenumber" name="L110" href="#L110">110</a> } +<a class="jxr_linenumber" name="L111" href="#L111">111</a> +<a class="jxr_linenumber" name="L112" href="#L112">112</a> @Test +<a class="jxr_linenumber" name="L113" href="#L113">113</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testReadBigFile() <strong class="jxr_keyword">throws</strong> Exception { +<a class="jxr_linenumber" name="L114" href="#L114">114</a> <strong class="jxr_keyword">long</strong> bestTime = Long.MAX_VALUE; +<a class="jxr_linenumber" name="L115" href="#L115">115</a> <strong class="jxr_keyword">long</strong> count; +<a class="jxr_linenumber" name="L116" href="#L116">116</a> <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> i = 0; i < <strong class="jxr_keyword">this</strong>.max; i++) { +<a class="jxr_linenumber" name="L117" href="#L117">117</a> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> startMillis; +<a class="jxr_linenumber" name="L118" href="#L118">118</a> <strong class="jxr_keyword">try</strong> (<strong class="jxr_keyword">final</strong> BufferedReader in = <strong class="jxr_keyword">this</strong>.createBufferedReader()) { +<a class="jxr_linenumber" name="L119" href="#L119">119</a> startMillis = System.currentTimeMillis(); +<a class="jxr_linenumber" name="L120" href="#L120">120</a> count = <strong class="jxr_keyword">this</strong>.readAll(in); +<a class="jxr_linenumber" name="L121" href="#L121">121</a> } +<a class="jxr_linenumber" name="L122" href="#L122">122</a> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> totalMillis = System.currentTimeMillis() - startMillis; +<a class="jxr_linenumber" name="L123" href="#L123">123</a> bestTime = Math.min(totalMillis, bestTime); +<a class="jxr_linenumber" name="L124" href="#L124">124</a> <strong class="jxr_keyword">this</strong>.println(String.format(<span class="jxr_string">"File read in %,d milliseconds: %,d lines."</span>, totalMillis, count)); +<a class="jxr_linenumber" name="L125" href="#L125">125</a> } +<a class="jxr_linenumber" name="L126" href="#L126">126</a> <strong class="jxr_keyword">this</strong>.println(String.format(<span class="jxr_string">"Best time out of %,d is %,d milliseconds."</span>, <strong class="jxr_keyword">this</strong>.max, bestTime)); +<a class="jxr_linenumber" name="L127" href="#L127">127</a> } +<a class="jxr_linenumber" name="L128" href="#L128">128</a> } +</pre> +<hr/> +<div id="footer">Copyright © 2020 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> +</body> +</html> Added: dev/commons/csv/1.8-RC2/site/xref-test/org/apache/commons/csv/perf/package-frame.html ============================================================================== --- dev/commons/csv/1.8-RC2/site/xref-test/org/apache/commons/csv/perf/package-frame.html (added) +++ dev/commons/csv/1.8-RC2/site/xref-test/org/apache/commons/csv/perf/package-frame.html Sun Feb 2 01:23:05 2020 @@ -0,0 +1,21 @@ + +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xml:lang="en" lang="en"> + <!-- generated by Apache Maven JXR (jdk8) --> + <head> + <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> + <title>Apache Commons CSV 1.8 Reference Package org.apache.commons.csv.perf</title> + <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" /> + </head> + <body> + <h1 class="bar"><a href="package-summary.html" target="classFrame">org.apache.commons.csv.perf</a></h1> + <div class="indexContainer"> + <h2 title="Classes">Classes</h2> + <ul title="Classes"> + <li> + <a href="PerformanceTest.html#PerformanceTest" target="classFrame">PerformanceTest</a> + </li> + </ul> + </div> + </body> +</html> \ No newline at end of file Added: dev/commons/csv/1.8-RC2/site/xref-test/org/apache/commons/csv/perf/package-summary.html ============================================================================== --- dev/commons/csv/1.8-RC2/site/xref-test/org/apache/commons/csv/perf/package-summary.html (added) +++ dev/commons/csv/1.8-RC2/site/xref-test/org/apache/commons/csv/perf/package-summary.html Sun Feb 2 01:23:05 2020 @@ -0,0 +1,107 @@ + +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xml:lang="en" lang="en"> + <!-- generated by Apache Maven JXR (jdk8) --> + <head> + <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> + <title>Apache Commons CSV 1.8 Reference Package org.apache.commons.csv.perf</title> + <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" /> + </head> + + <body> + <div class="topNav"> + <a name="navbar_top"><!-- --></a> + <a href="#skip-navbar_top" title="Skip navigation links"></a> + <a name="navbar_top_firstrow"><!-- --></a> + <ul class="navList" title="Navigation"> + <li><a href="../../../../../overview-summary.html">Overview</a></li> + <li class="navBarCell1Rev">Package</li> + <li>Class</li> + <li>Use</li> + <li>Tree</li> + <li>Deprecated</li> + <li>Index</li> + <li>Help</li> + </ul> + <div class="aboutLanguage"><em><strong>Apache Commons CSV 1.8 Reference</strong></em></div> + </div> + <div class="subNav"> + <ul class="navList"> + <li>Prev</li> + <li>Next</li> + </ul> + <ul class="navList"> + <li><a href="../../../../../index.html?overview-summary.html" target="_top">Frames</a></li> + <li><a href="package-summary.html" target="_top">No Frames</a></li> + </ul> + <ul class="navList" id="allclasses_navbar_top"> + <li>All Classes</li> + </ul> + <div> + </div> + <a name="skip-navbar_top"><!-- --></a> + </div> + + <div class="header"> + <h1 title="Package" class="title">Package org.apache.commons.csv.perf</h1> + </div> + <div class="contentContainer"> + <ul class="blockList"> + <li class="blockList"> + <table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation"> + <caption><span>Class Summary</span><span class="tabEnd"> </span></caption> + <thead> + <tr> + <th class="colFirst colLast" scope="col">Class</th> + </tr> + </thead> + <tbody> + <tr class="altColor"> + <td class="colFirst colLast"> + <a href="PerformanceTest.html#PerformanceTest" target="classFrame" title="class in org.apache.commons.csv.perf">PerformanceTest</a> + </td> + </tr> + </tbody> + </table> + </li> + </ul> + </div> + + <div class="bottomNav"> + <a name="navbar_bottom"><!-- --></a> + <a href="#skip-navbar_bottom" title="Skip navigation links"></a> + <a name="navbar_bottom_firstrow"><!-- --></a> + <ul class="navList" title="Navigation"> + <li><a href="../../../../../overview-summary.html">Overview</a></li> + <li class="navBarCell1Rev">Package</li> + <li>Class</li> + <li>Use</li> + <li>Tree</li> + <li>Deprecated</li> + <li>Index</li> + <li>Help</li> + </ul> + <div class="aboutLanguage"><em><strong>Apache Commons CSV 1.8 Reference</strong></em></div> + </div> + <div class="subNav"> + <ul class="navList"> + <li>Prev</li> + <li>Next</li> + </ul> + <ul class="navList"> + <li><a href="../../../../../index.html?overview-summary.html" target="_top">Frames</a></li> + <li><a href="package-summary.html" target="_top">No Frames</a></li> + </ul> + <ul class="navList" id="allclasses_navbar_bottom"> + <li>All Classes</li> + </ul> + <div> + </div> + <a name="skip-navbar_bottom"><!-- --></a> + </div> + + <div id="footer"> + Copyright © 2020 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. + </div> + </body> +</html> \ No newline at end of file Added: dev/commons/csv/1.8-RC2/site/xref-test/overview-frame.html ============================================================================== --- dev/commons/csv/1.8-RC2/site/xref-test/overview-frame.html (added) +++ dev/commons/csv/1.8-RC2/site/xref-test/overview-frame.html Sun Feb 2 01:23:05 2020 @@ -0,0 +1,30 @@ + +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xml:lang="en" lang="en"> + <!-- generated by Apache Maven JXR (jdk8) --> + <head> + <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> + <title>Apache Commons CSV 1.8 Reference</title> + <link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" /> + </head> + <body> + <h1 title="Apache Commons CSV 1.8 Reference" class="bar"><strong>Apache Commons CSV 1.8 Reference</strong></h1> + <div class="indexHeader"><span><a href="allclasses-frame.html" target="packageFrame">All Classes</a></span></div> + <div class="indexContainer"> + <h2 title="Packages">Packages</h2> + <ul title="Packages"> + <li> + <a href="org/apache/commons/csv/package-frame.html" target="packageFrame">org.apache.commons.csv</a> + </li> + <li> + <a href="org/apache/commons/csv/issues/package-frame.html" target="packageFrame">org.apache.commons.csv.issues</a> + </li> + <li> + <a href="org/apache/commons/csv/perf/package-frame.html" target="packageFrame">org.apache.commons.csv.perf</a> + </li> + </ul> + </div> + <p> </p> + </body> +</html> + Added: dev/commons/csv/1.8-RC2/site/xref-test/overview-summary.html ============================================================================== --- dev/commons/csv/1.8-RC2/site/xref-test/overview-summary.html (added) +++ dev/commons/csv/1.8-RC2/site/xref-test/overview-summary.html Sun Feb 2 01:23:05 2020 @@ -0,0 +1,102 @@ + +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xml:lang="en" lang="en"> + <!-- generated by Apache Maven JXR (jdk7) --> + <head> + <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> + <title>Apache Commons CSV 1.8 Reference</title> + <link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" /> + </head> + <body> + <div class="topNav"> + <a name="navbar_top"><!-- --></a> + <a href="#skip-navbar_top" title="Skip navigation links"></a> + <a name="navbar_top_firstrow"><!-- --></a> + <ul class="navList" title="Navigation"> + <li class="navBarCell1Rev">Overview</li> + <li>Package</li> + <li>Class</li> + <li>Use</li> + <li>Tree</li> + <li>Deprecated</li> + <li>Index</li> + <li>Help</li> + </ul> + <div class="aboutLanguage"><em><strong>Apache Commons CSV 1.8 Reference</strong></em></div> + </div> + <div class="subNav"> + <ul class="navList"> + <li>Prev</li> + <li>Next</li> + </ul> + <ul class="navList"> + <li><a href="index.html?overview-summary.html" target="_top">Frames</a></li> + <li><a href="overview-summary.html" target="_top">No Frames</a></li> + </ul> + <a name="skip-navbar_top"><!-- --></a> + </div> + + <div class="header"> + <h1 class="title">Apache Commons CSV 1.8 Reference</h1> + </div> + <div class="contentContainer"> + <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Packages table, listing packages"> + <caption><span>Packages</span><span class="tabEnd"> </span></caption> + <thead> + <tr> + <th class="colFirst colLast" scope="col">Package</th> + </tr> + </thead> + <tbody> + <tr class="altColor"> + <td class="colFirst colLast"> + <a href="org/apache/commons/csv/package-summary.html">org.apache.commons.csv</a> + </td> + </tr> + <tr class="rowColor"> + <td class="colFirst colLast"> + <a href="org/apache/commons/csv/issues/package-summary.html">org.apache.commons.csv.issues</a> + </td> + </tr> + <tr class="altColor"> + <td class="colFirst colLast"> + <a href="org/apache/commons/csv/perf/package-summary.html">org.apache.commons.csv.perf</a> + </td> + </tr> + </tbody> + </table> + </div> + + <div class="bottomNav"> + <a name="navbar_bottom"><!-- --></a> + <a href="#skip-navbar_bottom" title="Skip navigation links"></a> + <a name="navbar_bottom_firstrow"><!-- --></a> + <ul class="navList" title="Navigation"> + <li class="navBarCell1Rev">Overview</li> + <li>Package</li> + <li>Class</li> + <li>Use</li> + <li>Tree</li> + <li>Deprecated</li> + <li>Index</li> + <li>Help</li> + </ul> + <div class="aboutLanguage"><em><strong>Apache Commons CSV 1.8 Reference</strong></em></div> + </div> + <div class="subNav"> + <ul class="navList"> + <li>Prev</li> + <li>Next</li> + </ul> + <ul class="navList"> + <li><a href="index.html?overview-summary.html" target="_top">Frames</a></li> + <li><a href="overview-summary.html" target="_top">No Frames</a></li> + </ul> + <a name="skip-navbar_bottom"><!-- --></a> + </div> + + <div id="footer"> + Copyright © 2020 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. + </div> + </body> +</html> \ No newline at end of file Added: dev/commons/csv/1.8-RC2/site/xref-test/stylesheet.css ============================================================================== --- dev/commons/csv/1.8-RC2/site/xref-test/stylesheet.css (added) +++ dev/commons/csv/1.8-RC2/site/xref-test/stylesheet.css Sun Feb 2 01:23:05 2020 @@ -0,0 +1,626 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} + +/* JXR style sheet */ +a.jxr_linenumber:link { + color: #00f; +} + +a.jxr_linenumber:visited { + color: #00a; +} + +a.jxr_linenumber:active, a.jxr_linenumber:hover { + color: #f30 !important; +} + +em.comment { + color: #390; +} + +.string { + color: #009; +} + +#overview { + padding: 2px; + font-size: 90%; + font-family: Helvetica, Arial, sans-serif; +} + +hr { + color: #000; +} + +.jxr_comment +{ + color: #390; +} + +.jxr_javadoccomment +{ + color: #A00; +} + +.jxr_string +{ + color: #009; +} + +.jxr_keyword +{ + color: #000; +} + Added: dev/commons/csv/1.8-RC2/site/xref/allclasses-frame.html ============================================================================== --- dev/commons/csv/1.8-RC2/site/xref/allclasses-frame.html (added) +++ dev/commons/csv/1.8-RC2/site/xref/allclasses-frame.html Sun Feb 2 01:23:05 2020 @@ -0,0 +1,32 @@ + +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xml:lang="en" lang="en"> + <!-- generated by Apache Maven JXR (jdk8) --> + <head> + <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> + <title>All Classes</title> + <link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" /> + </head> + <body> + <h1 class="bar">All Classes</h1> + <div class="indexContainer"> + <ul> + <li><a href="org/apache/commons/csv/Assertions.html#Assertions" target="classFrame">Assertions</a></li> + <li><a href="org/apache/commons/csv/CSVFormat.html#CSVFormat" target="classFrame">CSVFormat</a></li> + <li><a href="org/apache/commons/csv/CSVFormat.html#CSVFormat.Predefined" target="classFrame">CSVFormat.Predefined</a></li> + <li><a href="org/apache/commons/csv/CSVParser.html#CSVParser" target="classFrame">CSVParser</a></li> + <li><a href="org/apache/commons/csv/CSVParser.html#CSVParser.CSVRecordIterator" target="classFrame">CSVParser.CSVRecordIterator</a></li> + <li><a href="org/apache/commons/csv/CSVParser.html#CSVParser.Headers" target="classFrame">CSVParser.Headers</a></li> + <li><a href="org/apache/commons/csv/CSVPrinter.html#CSVPrinter" target="classFrame">CSVPrinter</a></li> + <li><a href="org/apache/commons/csv/CSVRecord.html#CSVRecord" target="classFrame">CSVRecord</a></li> + <li><a href="org/apache/commons/csv/Constants.html#Constants" target="classFrame">Constants</a></li> + <li><a href="org/apache/commons/csv/ExtendedBufferedReader.html#ExtendedBufferedReader" target="classFrame">ExtendedBufferedReader</a></li> + <li><a href="org/apache/commons/csv/IOUtils.html#IOUtils" target="classFrame">IOUtils</a></li> + <li><a href="org/apache/commons/csv/Lexer.html#Lexer" target="classFrame">Lexer</a></li> + <li><a href="org/apache/commons/csv/QuoteMode.html#QuoteMode" target="classFrame">QuoteMode</a></li> + <li><a href="org/apache/commons/csv/Token.html#Token" target="classFrame">Token</a></li> + <li><a href="org/apache/commons/csv/Token.html#Token.Type" target="classFrame">Token.Type</a></li> + </ul> + </div> + </body> +</html> Added: dev/commons/csv/1.8-RC2/site/xref/index.html ============================================================================== --- dev/commons/csv/1.8-RC2/site/xref/index.html (added) +++ dev/commons/csv/1.8-RC2/site/xref/index.html Sun Feb 2 01:23:05 2020 @@ -0,0 +1,75 @@ + +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> +<html xml:lang="en" lang="en"> + <!-- this is a JXR report set (jdk8) --> + <head> + <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> + <title>Apache Commons CSV 1.8 Reference</title> + <script type="text/javascript"> + tmpTargetPage = "" + window.location.search; + if (tmpTargetPage != "" && tmpTargetPage != "undefined") + tmpTargetPage = tmpTargetPage.substring(1); + if (tmpTargetPage.indexOf(":") != -1 || (tmpTargetPage != "" && !validURL(tmpTargetPage))) + tmpTargetPage = "undefined"; + targetPage = tmpTargetPage; + function validURL(url) { + try { + url = decodeURIComponent(url); + } + catch (error) { + return false; + } + var pos = url.indexOf(".html"); + if (pos == -1 || pos != url.length - 5) + return false; + var allowNumber = false; + var allowSep = false; + var seenDot = false; + for (var i = 0; i < url.length - 5; i++) { + var ch = url.charAt(i); + if ('a' <= ch && ch <= 'z' || + 'A' <= ch && ch <= 'Z' || + ch == '$' || + ch == '_' || + ch.charCodeAt(0) > 127) { + allowNumber = true; + allowSep = true; + } else if ('0' <= ch && ch <= '9' + || ch == '-') { + if (!allowNumber) + return false; + } else if (ch == '/' || ch == '.') { + if (!allowSep) + return false; + allowNumber = false; + allowSep = false; + if (ch == '.') + seenDot = true; + if (ch == '/' && seenDot) + return false; + } else { + return false; + } + } + return true; + } + function loadFrames() { + if (targetPage != "" && targetPage != "undefined") + top.classFrame.location = top.targetPage; + } + </script> + </head> + <frameset cols="20%,80%" title="Documentation frame" onload="top.loadFrames()"> + <frameset rows="30%,70%" title="Left frames" onload="top.loadFrames()"> + <frame src="overview-frame.html" name="packageListFrame" title="All Packages"/> + <frame src="allclasses-frame.html" name="packageFrame" title="All classes and interfaces (except non-static nested types)"/> + </frameset> + <frame src="overview-summary.html" name="classFrame" title="Package, class and interface descriptions" scrolling="yes"/> + <noframes> + <h1>Frame Alert</h1> + <p> + You don't have frames. Go <a href="overview-summary.html">here</a> + </p> + </noframes> + </frameset> +</html> Added: dev/commons/csv/1.8-RC2/site/xref/org/apache/commons/csv/Assertions.html ============================================================================== --- dev/commons/csv/1.8-RC2/site/xref/org/apache/commons/csv/Assertions.html (added) +++ dev/commons/csv/1.8-RC2/site/xref/org/apache/commons/csv/Assertions.html Sun Feb 2 01:23:05 2020 @@ -0,0 +1,51 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head><meta http-equiv="content-type" content="text/html; charset=UTF-8" /> +<title>Assertions xref</title> +<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" /> +</head> +<body> +<div id="overview"><a href="../../../../../apidocs/org/apache/commons/csv/Assertions.html">View Javadoc</a></div><pre> +<a class="jxr_linenumber" name="L1" href="#L1">1</a> <em class="jxr_comment">/*</em> +<a class="jxr_linenumber" name="L2" href="#L2">2</a> <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</em> +<a class="jxr_linenumber" name="L3" href="#L3">3</a> <em class="jxr_comment"> * contributor license agreements. See the NOTICE file distributed with</em> +<a class="jxr_linenumber" name="L4" href="#L4">4</a> <em class="jxr_comment"> * this work for additional information regarding copyright ownership.</em> +<a class="jxr_linenumber" name="L5" href="#L5">5</a> <em class="jxr_comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</em> +<a class="jxr_linenumber" name="L6" href="#L6">6</a> <em class="jxr_comment"> * (the "License"); you may not use this file except in compliance with</em> +<a class="jxr_linenumber" name="L7" href="#L7">7</a> <em class="jxr_comment"> * the License. You may obtain a copy of the License at</em> +<a class="jxr_linenumber" name="L8" href="#L8">8</a> <em class="jxr_comment"> *</em> +<a class="jxr_linenumber" name="L9" href="#L9">9</a> <em class="jxr_comment"> * <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em> +<a class="jxr_linenumber" name="L10" href="#L10">10</a> <em class="jxr_comment"> *</em> +<a class="jxr_linenumber" name="L11" href="#L11">11</a> <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing, software</em> +<a class="jxr_linenumber" name="L12" href="#L12">12</a> <em class="jxr_comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em> +<a class="jxr_linenumber" name="L13" href="#L13">13</a> <em class="jxr_comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em> +<a class="jxr_linenumber" name="L14" href="#L14">14</a> <em class="jxr_comment"> * See the License for the specific language governing permissions and</em> +<a class="jxr_linenumber" name="L15" href="#L15">15</a> <em class="jxr_comment"> * limitations under the License.</em> +<a class="jxr_linenumber" name="L16" href="#L16">16</a> <em class="jxr_comment"> */</em> +<a class="jxr_linenumber" name="L17" href="#L17">17</a> +<a class="jxr_linenumber" name="L18" href="#L18">18</a> <strong class="jxr_keyword">package</strong> org.apache.commons.csv; +<a class="jxr_linenumber" name="L19" href="#L19">19</a> +<a class="jxr_linenumber" name="L20" href="#L20">20</a> <strong class="jxr_keyword">import</strong> java.util.Objects; +<a class="jxr_linenumber" name="L21" href="#L21">21</a> +<a class="jxr_linenumber" name="L22" href="#L22">22</a> <em class="jxr_javadoccomment">/**</em> +<a class="jxr_linenumber" name="L23" href="#L23">23</a> <em class="jxr_javadoccomment"> * Utility class for input parameter validation.</em> +<a class="jxr_linenumber" name="L24" href="#L24">24</a> <em class="jxr_javadoccomment"> *</em> +<a class="jxr_linenumber" name="L25" href="#L25">25</a> <em class="jxr_javadoccomment"> * TODO Replace usage with {@link Objects} when we switch to Java 7.</em> +<a class="jxr_linenumber" name="L26" href="#L26">26</a> <em class="jxr_javadoccomment"> */</em> +<a class="jxr_linenumber" name="L27" href="#L27">27</a> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">class</strong> <a name="Assertions" href="../../../../org/apache/commons/csv/Assertions.html#Assertions">Assertions</a> { +<a class="jxr_linenumber" name="L28" href="#L28">28</a> +<a class="jxr_linenumber" name="L29" href="#L29">29</a> <strong class="jxr_keyword">private</strong> <a name="Assertions" href="../../../../org/apache/commons/csv/Assertions.html#Assertions">Assertions</a>() { +<a class="jxr_linenumber" name="L30" href="#L30">30</a> <em class="jxr_comment">// can not be instantiated</em> +<a class="jxr_linenumber" name="L31" href="#L31">31</a> } +<a class="jxr_linenumber" name="L32" href="#L32">32</a> +<a class="jxr_linenumber" name="L33" href="#L33">33</a> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">void</strong> notNull(<strong class="jxr_keyword">final</strong> Object parameter, <strong class="jxr_keyword">final</strong> String parameterName) { +<a class="jxr_linenumber" name="L34" href="#L34">34</a> <strong class="jxr_keyword">if</strong> (parameter == <strong class="jxr_keyword">null</strong>) { +<a class="jxr_linenumber" name="L35" href="#L35">35</a> <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> IllegalArgumentException(<span class="jxr_string">"Parameter '"</span> + parameterName + <span class="jxr_string">"' must not be null!"</span>); +<a class="jxr_linenumber" name="L36" href="#L36">36</a> } +<a class="jxr_linenumber" name="L37" href="#L37">37</a> } +<a class="jxr_linenumber" name="L38" href="#L38">38</a> } +</pre> +<hr/> +<div id="footer">Copyright © 2020 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> +</body> +</html>