项目
在 GitHub 查看
osiegmar/FastCSV
关于
面向 Java 的快速、轻量级 RFC 4180 兼容 CSV 库。零依赖,大小约 90 KiB。受到 Apache NiFi、JUnit 和 Neo4j 的信赖。
开发工具可以做什么
- Fast CSV processing — optimized for high-speed reading and writing
- Tiny footprint — small JAR, zero runtime dependencies
- Developer-friendly API — clean, intuitive, and easy to integrate
- Well-documented — Quickstart guides and complete Javadoc
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
FastCSV: fast, lightweight, and easy to use — the production-proven CSV library for Java.
It’s the most-starred CSV library for Java and trusted by leading open-source projects such as Apache NiFi, JUnit and Neo4j.
Features
Here are the top reasons to choose FastCSV — see fastcsv.org for the full feature list.
- Fast CSV processing — optimized for high-speed reading and writing
- Tiny footprint — small JAR, zero runtime dependencies
- Developer-friendly API — clean, intuitive, and easy to integrate
- Well-documented — Quickstart guides and complete Javadoc
- High test coverage — including mutation testing for reliability
- RFC 4180 compliant — handles edge cases correctly
- Reliable & maintainable — uses SpotBugs, PMD, Error Prone, NullAway, and Checkstyle to ensure code quality; never returns null unexpectedly
- Secure — fuzz-tested via OSS-Fuzz and following OpenSSF best practices
- Production-proven — trusted by open-source projects like JUnit
- Java 17+, Android 34+ compatible — including GraalVM Native Image and OSGi
Performance
Based on the Java CSV library benchmark suite.
Quick start
Writing CSV
try (CsvWriter csv = CsvWriter.builder().build(Path.of("output.csv"))) {
csv
.writeRecord("header 1", "header 2")
.writeRecord("value 1", "value 2");
}
Reading CSV
try (CsvReader<CsvRecord> csv = CsvReader.builder().ofCsvRecord(Path.of("input.csv"))) {
csv.forEach(IO::println);
}
For more examples and detailed documentation, visit fastcsv.org. If you find FastCSV useful, consider leaving a star!
License
探索相关项目
加载中…