Apache Commons CSV 1.8 (要求 Java 8+) 发布了,Commons CSV 是一个用来读写各种 Comma Separated Value (CSV) 格式文件的 Java 库。
更新内容:
新特性
- CSV-255:添加 CSVRecord.isSet(int) 方法
Bug 修复
- CSV-135:字符转义无法正确使用引号
- CSV-244: CSVFormat#equals() 更新后,测试用例失败
- CSV-243:withTrim() 和 withIgnoreSurroundingSpaces() 的 CSVFormat 需要更好的文档
- CSV-242:CSVFormat equals() 和 hashCode() 并不使用所有字段
- CSV-241:CSVFormat#validate() 不考虑 allowDuplicateHeaderNames
- CSV-245:修复 1.7 版本
- CSV-252:将测试框架升级到 JUnit 5 Jupiter
- CSV-247:不允许空列标题时,允许使用一个空标题
- CSV-248:CSVRecord 无法序列化