Skip to content
Philip Helger edited this page Apr 8, 2026 · 1 revision

Helper library for reading and writing CSV files, based on OpenCSV.

Highlights:

  • CSVReader - read CSV data from any Reader (implements Closeable and Iterable)
  • CSVWriter - write CSV data to any Writer
  • CSVParser - low-level CSV parsing logic
  • CCSV - CSV constants (separators, quote characters, escape characters)

Maven usage

Add the following to your pom.xml to use this artifact:

<dependency>
  <groupId>com.helger.commons</groupId>
  <artifactId>ph-csv</artifactId>
  <version>x.y.z</version>
</dependency>

Note: this module was extracted from ph-commons in v12.1.0.

Clone this wiki locally