Use HTTPS links to Apache.
This commit is contained in:
parent
7754cd4c84
commit
7e669566df
|
@ -36,14 +36,14 @@ o CSV-237: Update to Java 8. Thanks to Gary Gregory.
|
|||
o Update tests from H2 1.4.198 to 1.4.199. Thanks to Gary Gregory.
|
||||
|
||||
|
||||
Historical list of changes: http://commons.apache.org/proper/commons-csv/changes-report.html
|
||||
Historical list of changes: https://commons.apache.org/proper/commons-csv/changes-report.html
|
||||
|
||||
For complete information on Apache Commons CSV, including instructions on how to submit bug reports,
|
||||
patches, or suggestions for improvement, see the Apache Apache Commons CSV website:
|
||||
|
||||
http://commons.apache.org/proper/commons-csv/
|
||||
https://commons.apache.org/proper/commons-csv/
|
||||
|
||||
Download it from http://commons.apache.org/proper/commons-csv/download_csv.cgi
|
||||
Download it from https://commons.apache.org/proper/commons-csv/download_csv.cgi
|
||||
|
||||
Have fun!
|
||||
-Apache Commons CSV team
|
||||
|
@ -150,12 +150,12 @@ o CSV-187: Update platform requirement from Java 6 to 7. Thanks to Gary Gregory.
|
|||
o CSV-201: Do not use RuntimeException in CSVParser.iterator().new Iterator() {...}.getNextRecord(). Thanks to Benedikt Ritter, Gary Gregory.
|
||||
|
||||
|
||||
Historical list of changes: http://commons.apache.org/proper/commons-csv/changes-report.html
|
||||
Historical list of changes: https://commons.apache.org/proper/commons-csv/changes-report.html
|
||||
|
||||
For complete information on Apache Commons CSV, including instructions on how to submit bug reports,
|
||||
patches, or suggestions for improvement, see the Apache Apache Commons CSV website:
|
||||
|
||||
http://commons.apache.org/proper/commons-csv/
|
||||
https://commons.apache.org/proper/commons-csv/
|
||||
|
||||
Have fun!
|
||||
-Apache Commons CSV team
|
||||
|
@ -194,12 +194,12 @@ o CSV-181: Make CSVPrinter.print(Object) GC-free. Thanks to Gary Gregory.
|
|||
o CSV-183: Drop ferc.gov tests.
|
||||
|
||||
|
||||
Historical list of changes: http://commons.apache.org/proper/commons-csv/changes-report.html
|
||||
Historical list of changes: https://commons.apache.org/proper/commons-csv/changes-report.html
|
||||
|
||||
For complete information on Apache Commons CSV, including instructions on how to submit bug reports,
|
||||
patches, or suggestions for improvement, see the Apache Apache Commons CSV website:
|
||||
|
||||
http://commons.apache.org/proper/commons-csv/
|
||||
https://commons.apache.org/proper/commons-csv/
|
||||
|
||||
Have fun!
|
||||
-Apache Commons CSV team
|
||||
|
@ -286,12 +286,12 @@ o CSV-145: CSVFormat.with* methods clear the header comments. Thanks to Frank U
|
|||
o CSV-156: Incorrect Javadoc on QuoteMode.NONE. Thanks to Jason Steenstra-Pickens.
|
||||
|
||||
|
||||
Historical list of changes: http://commons.apache.org/proper/commons-csv/changes-report.html
|
||||
Historical list of changes: https://commons.apache.org/proper/commons-csv/changes-report.html
|
||||
|
||||
For complete information on Apache Commons CSV, including instructions on how to submit bug reports,
|
||||
patches, or suggestions for improvement, see the Apache Apache Commons CSV website:
|
||||
|
||||
http://commons.apache.org/proper/commons-csv/
|
||||
https://commons.apache.org/proper/commons-csv/
|
||||
|
||||
Have fun!
|
||||
-Apache Commons CSV team
|
||||
|
@ -332,12 +332,12 @@ Changes:
|
|||
o [CSV-124] Improve toString() implementation of CSVRecord. Thanks to Kalyan.
|
||||
o [CSV-134] Unified parameter validation. Thanks to wu wen.
|
||||
|
||||
Historical list of changes: http://commons.apache.org/proper/commons-csv/changes-report.html
|
||||
Historical list of changes: https://commons.apache.org/proper/commons-csv/changes-report.html
|
||||
|
||||
For complete information on Apache Commons CSV, including instructions on how to submit bug reports,
|
||||
patches, or suggestions for improvement, see the Apache Apache Commons CSV website:
|
||||
|
||||
http://commons.apache.org/proper/commons-csv/
|
||||
https://commons.apache.org/proper/commons-csv/
|
||||
|
||||
Have fun!
|
||||
-Apache Commons CSV team
|
||||
|
@ -427,12 +427,12 @@ o CSV-26: ExtendedBufferedReader does too much
|
|||
o CSV-27: Decide whether to keep the csv.writer subpackage
|
||||
|
||||
|
||||
Historical list of changes: http://commons.apache.org/proper/commons-csv/changes-report.html
|
||||
Historical list of changes: https://commons.apache.org/proper/commons-csv/changes-report.html
|
||||
|
||||
For complete information on Apache Commons CSV, including instructions on how to submit bug reports,
|
||||
patches, or suggestions for improvement, see the Apache Apache Commons CSV website:
|
||||
|
||||
http://commons.apache.org/proper/commons-csv/
|
||||
https://commons.apache.org/proper/commons-csv/
|
||||
|
||||
Have fun!
|
||||
-Apache Commons CSV team
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -25,7 +25,7 @@
|
|||
<artifactId>commons-csv</artifactId>
|
||||
<version>1.8-SNAPSHOT</version>
|
||||
<name>Apache Commons CSV</name>
|
||||
<url>http://commons.apache.org/proper/commons-csv/</url>
|
||||
<url>https://commons.apache.org/proper/commons-csv/</url>
|
||||
<description>
|
||||
The Apache Commons CSV library provides a simple interface for reading and writing
|
||||
CSV files of various types.
|
||||
|
|
|
@ -67,7 +67,7 @@ The <a href="source-repository.html">git repository</a> can be
|
|||
<!-- ================================================== -->
|
||||
<section name="Releases">
|
||||
<ul>
|
||||
<li><a href="http://commons.apache.org/csv/download_csv.cgi">Apache Commons CSV 1.7 (mirrors)</a> requires Java 8</li>
|
||||
<li><a href="https://commons.apache.org/csv/download_csv.cgi">Apache Commons CSV 1.7 (mirrors)</a> requires Java 8</li>
|
||||
<li><a href="http://archive.apache.org/dist/commons/csv/">Apache Commons CSV 1.6 (archives)</a> requires Java 7</li>
|
||||
<li><a href="http://archive.apache.org/dist/commons/csv/">Apache Commons CSV 1.5 (archives)</a> requires Java 7</li>
|
||||
<li><a href="http://archive.apache.org/dist/commons/csv/">Apache Commons CSV 1.4 (archives)</a> requires Java 6</li>
|
||||
|
@ -78,7 +78,7 @@ The <a href="source-repository.html">git repository</a> can be
|
|||
</ul>
|
||||
<p>
|
||||
See the
|
||||
<a href="http://commons.apache.org/csv/download_csv.cgi">Download Page</a>
|
||||
<a href="https://commons.apache.org/csv/download_csv.cgi">Download Page</a>
|
||||
for the latest releases.<br />
|
||||
</p>
|
||||
<p>
|
||||
|
|
|
@ -49,7 +49,7 @@ limitations under the License.
|
|||
<section name="Overview">
|
||||
<p>
|
||||
<a href="index.html">Apache Commons CSV</a> shares mailing lists with all the other
|
||||
<a href="http://commons.apache.org/components.html">Commons Components</a>.
|
||||
<a href="https://commons.apache.org/components.html">Commons Components</a>.
|
||||
To make it easier for people to only read messages related to components they are interested in,
|
||||
the convention in Commons is to prefix the subject line of messages with the component's name,
|
||||
for example:
|
||||
|
|
|
@ -34,18 +34,18 @@ limitations under the License.
|
|||
The CSVFormat class provides some commonly used CSV variants:
|
||||
|
||||
<dl>
|
||||
<dt><a href="http://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#DEFAULT">DEFAULT</a></dt><dd>Standard Comma Separated Value format, as for RFC4180 but allowing empty lines.</dd>
|
||||
<dt><a href="http://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#EXCEL">EXCEL</a></dt><dd>The Microsoft Excel CSV format.</dd>
|
||||
<dt><a href="http://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#INFORMIX_UNLOAD">INFORMIX_UNLOAD<sup>1.3</sup></a></dt><dd>Informix <a href="http://www.ibm.com/support/knowledgecenter/SSBJG3_2.5.0/com.ibm.gen_busug.doc/c_fgl_InOutSql_UNLOAD.htm">UNLOAD</a> format used by the <code>UNLOAD TO file_name</code> operation.</dd>
|
||||
<dt><a href="http://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#INFORMIX_UNLOAD_CSV">INFORMIX_UNLOAD_CSV<sup>1.3</sup></a></dt><dd>Informix <a href="http://www.ibm.com/support/knowledgecenter/SSBJG3_2.5.0/com.ibm.gen_busug.doc/c_fgl_InOutSql_UNLOAD.htm">CSV UNLOAD</a> format used by the <code>UNLOAD TO file_name</code> operation (escaping is disabled.)</dd>
|
||||
<dt><a href="http://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#MYSQL">MONGO_CSV<sup>1.7</sup></a></dt><dd>MongoDB CSV format used by the <code>mongoexport</code> operation.</dd>
|
||||
<dt><a href="http://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#MYSQL">MONGO_TSV<sup>1.7</sup></a></dt><dd>MongoDB TSV format used by the <code>mongoexport</code> operation.</dd>
|
||||
<dt><a href="http://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#MYSQL">MYSQL</a></dt><dd>The MySQL CSV format.</dd>
|
||||
<dt><a href="http://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#ORACLE">ORACLE<sup>1.6</sup></a></dt><dd>Default Oracle format used by the SQL*Loader utility.</dd>
|
||||
<dt><a href="http://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#POSTGRESSQL_CSV">POSTGRESSQL_CSV<sup>1.5</sup></a></dt><dd>Default PostgreSQL CSV format used by the COPY operation.</dd>
|
||||
<dt><a href="http://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#POSTGRESSQL_TEXT">POSTGRESSQL_TEXT<sup>1.5</sup></a></dt><dd>Default PostgreSQL text format used by the COPY operation.</dd>
|
||||
<dt><a href="http://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#RFC4180">RFC-4180</a></dt><dd>The RFC-4180 format defined by <a href="https://tools.ietf.org/html/rfc4180">RFC-4180</a>.</dd>
|
||||
<dt><a href="http://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#TDF">TDF</a></dt><dd>A tab delimited format.</dd>
|
||||
<dt><a href="https://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#DEFAULT">DEFAULT</a></dt><dd>Standard Comma Separated Value format, as for RFC4180 but allowing empty lines.</dd>
|
||||
<dt><a href="https://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#EXCEL">EXCEL</a></dt><dd>The Microsoft Excel CSV format.</dd>
|
||||
<dt><a href="https://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#INFORMIX_UNLOAD">INFORMIX_UNLOAD<sup>1.3</sup></a></dt><dd>Informix <a href="http://www.ibm.com/support/knowledgecenter/SSBJG3_2.5.0/com.ibm.gen_busug.doc/c_fgl_InOutSql_UNLOAD.htm">UNLOAD</a> format used by the <code>UNLOAD TO file_name</code> operation.</dd>
|
||||
<dt><a href="https://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#INFORMIX_UNLOAD_CSV">INFORMIX_UNLOAD_CSV<sup>1.3</sup></a></dt><dd>Informix <a href="http://www.ibm.com/support/knowledgecenter/SSBJG3_2.5.0/com.ibm.gen_busug.doc/c_fgl_InOutSql_UNLOAD.htm">CSV UNLOAD</a> format used by the <code>UNLOAD TO file_name</code> operation (escaping is disabled.)</dd>
|
||||
<dt><a href="https://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#MYSQL">MONGO_CSV<sup>1.7</sup></a></dt><dd>MongoDB CSV format used by the <code>mongoexport</code> operation.</dd>
|
||||
<dt><a href="https://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#MYSQL">MONGO_TSV<sup>1.7</sup></a></dt><dd>MongoDB TSV format used by the <code>mongoexport</code> operation.</dd>
|
||||
<dt><a href="https://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#MYSQL">MYSQL</a></dt><dd>The MySQL CSV format.</dd>
|
||||
<dt><a href="https://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#ORACLE">ORACLE<sup>1.6</sup></a></dt><dd>Default Oracle format used by the SQL*Loader utility.</dd>
|
||||
<dt><a href="https://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#POSTGRESSQL_CSV">POSTGRESSQL_CSV<sup>1.5</sup></a></dt><dd>Default PostgreSQL CSV format used by the COPY operation.</dd>
|
||||
<dt><a href="https://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#POSTGRESSQL_TEXT">POSTGRESSQL_TEXT<sup>1.5</sup></a></dt><dd>Default PostgreSQL text format used by the COPY operation.</dd>
|
||||
<dt><a href="https://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#RFC4180">RFC-4180</a></dt><dd>The RFC-4180 format defined by <a href="https://tools.ietf.org/html/rfc4180">RFC-4180</a>.</dd>
|
||||
<dt><a href="https://commons.apache.org/proper/commons-csv/apidocs/org/apache/commons/csv/CSVFormat.html#TDF">TDF</a></dt><dd>A tab delimited format.</dd>
|
||||
</dl>
|
||||
|
||||
<subsection name="Example: Parsing an Excel CSV File">
|
||||
|
|
|
@ -1012,7 +1012,7 @@ public class CSVParserTest {
|
|||
|
||||
@Test(expected = IllegalArgumentException.class)
|
||||
public void testParserUrlNullCharsetFormat() throws Exception {
|
||||
try (final CSVParser parser = CSVParser.parse(new URL("http://commons.apache.org"), null, CSVFormat.DEFAULT)) {
|
||||
try (final CSVParser parser = CSVParser.parse(new URL("https://commons.apache.org"), null, CSVFormat.DEFAULT)) {
|
||||
Assert.fail("This test should have thrown an exception.");
|
||||
}
|
||||
}
|
||||
|
@ -1026,7 +1026,7 @@ public class CSVParserTest {
|
|||
|
||||
@Test(expected = IllegalArgumentException.class)
|
||||
public void testParseUrlCharsetNullFormat() throws Exception {
|
||||
try (final CSVParser parser = CSVParser.parse(new URL("http://commons.apache.org"), Charset.defaultCharset(), null)) {
|
||||
try (final CSVParser parser = CSVParser.parse(new URL("https://commons.apache.org"), Charset.defaultCharset(), null)) {
|
||||
Assert.fail("This test should have thrown an exception.");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue