Apache Commons CSV
Go to file
Gary Gregory a2ba9b5288 Bump spotbugs-maven-plugin from 4.2.3 to 4.3.0.
Fix SpotBugs Errors
- Error: Medium: org.apache.commons.csv.CSVParser.getHeaderNames() may
expose internal representation by returning CSVParser.headerNames
[org.apache.commons.csv.CSVParser] At CSVParser.java:[line 599]
EI_EXPOSE_REP
- Error: Medium: new org.apache.commons.csv.CSVParser(Reader, CSVFormat,
long, long) may expose internal representation by storing an externally
mutable object into CSVParser.format [org.apache.commons.csv.CSVParser]
At CSVParser.java:[line 433] EI_EXPOSE_REP2
- Error: Medium: new org.apache.commons.csv.CSVParser(Reader, CSVFormat,
long, long) may expose internal representation by storing an externally
mutable object into CSVParser.headerMap
[org.apache.commons.csv.CSVParser] At CSVParser.java:[line 437]
EI_EXPOSE_REP2
- Error: Medium: new org.apache.commons.csv.CSVParser(Reader, CSVFormat,
long, long) may expose internal representation by storing an externally
mutable object into CSVParser.headerNames
[org.apache.commons.csv.CSVParser] At CSVParser.java:[line 438]
EI_EXPOSE_REP2
- Error: Medium: new org.apache.commons.csv.CSVPrinter(Appendable,
CSVFormat) may expose internal representation by storing an externally
mutable object into CSVPrinter.format
[org.apache.commons.csv.CSVPrinter] At CSVPrinter.java:[line 100]
EI_EXPOSE_REP2

Suppresss SpotBugs Errors:
- Error: Medium: org.apache.commons.csv.CSVFormat$Predefined.getFormat()
may expose internal representation by returning
CSVFormat$Predefined.format [org.apache.commons.csv.CSVFormat$Predefined]
At CSVFormat.java:[line 758] EI_EXPOSE_REP
- Error: Medium: org.apache.commons.csv.CSVParser.iterator() may expose
internal representation by returning CSVParser.csvRecordIterator
[org.apache.commons.csv.CSVParser] At CSVParser.java:[line 690]
EI_EXPOSE_REP
- Error: Medium: org.apache.commons.csv.CSVRecord.getParser() may expose
internal representation by returning CSVRecord.parser
[org.apache.commons.csv.CSVRecord] At CSVRecord.java:[line 171]
EI_EXPOSE_REP
2021-07-14 11:29:27 -04:00
.github Bump actions/cache from 2.1.4 to 2.1.6 (#153) 2021-06-24 20:31:26 -04:00
src Bump spotbugs-maven-plugin from 4.2.3 to 4.3.0. 2021-07-14 11:29:27 -04:00
.gitignore chore: update gitignore to ignore idea and vscode (#160) 2021-07-09 10:07:26 -04:00
.travis.yml Replace Java 15 with Java 16 in Travis CI. 2021-06-06 10:43:03 -04:00
BENCHMARK.md CSV-282: Document and Automate CSV Benchmark Harness (#166) 2021-07-13 20:21:10 -04:00
CODE_OF_CONDUCT.md Add GitHub code of conduct page that points to the Apache page. 2021-05-16 17:02:54 -04:00
CONTRIBUTING.md Prepare for release 1.7. 2019-06-01 17:20:20 -04:00
LICENSE.txt Remove Dummy extra line 2021-03-09 20:52:07 +00:00
NOTICE.txt Prepare for the next release. 2020-01-18 11:35:47 -05:00
README.md Use license instead of licence (#74) 2020-06-01 16:11:30 -04:00
RELEASE-NOTES.txt Fix release notes. 2020-02-06 22:01:57 -05:00
SECURITY.md Typo. 2020-10-30 09:24:53 -04:00
benchmark-prereq.sh CSV-282: Document and Automate CSV Benchmark Harness (#166) 2021-07-13 20:21:10 -04:00
pom.xml Bump spotbugs-maven-plugin from 4.2.3 to 4.3.0. 2021-07-14 11:29:27 -04:00

README.md

Apache Commons CSV

Build Status Coverage Status Maven Central Javadocs

The Apache Commons CSV library provides a simple interface for reading and writing CSV files of various types.

Documentation

More information can be found on the Apache Commons CSV homepage. The Javadoc can be browsed. Questions related to the usage of Apache Commons CSV should be posted to the user mailing list.

Where can I get the latest release?

You can download source and binaries from our download page.

Alternatively you can pull it from the central Maven repositories:

<dependency>
  <groupId>org.apache.commons</groupId>
  <artifactId>commons-csv</artifactId>
  <version>1.8</version>
</dependency>

Contributing

We accept Pull Requests via GitHub. The developer mailing list is the main channel of communication for contributors. There are some guidelines which will make applying PRs easier for us:

  • No tabs! Please use spaces for indentation.
  • Respect the code style.
  • Create minimal diffs - disable on save actions like reformat source code or organize imports. If you feel the source code should be reformatted create a separate PR for this change.
  • Provide JUnit tests for your changes and make sure your changes don't break any existing tests by running mvn clean test.

If you plan to contribute on a regular basis, please consider filing a contributor license agreement. You can learn more about contributing via GitHub in our contribution guidelines.

License

This code is under the Apache License v2.

See the NOTICE.txt file for required notices and attributions.

Donations

You like Apache Commons CSV? Then donate back to the ASF to support the development.

Additional Resources