Apache Commons CSV v1.4 发布
jopen 8年前
<p style="text-align:center"><img alt="" src="https://simg.open-open.com/show/6debc6b2ed934ff2817516e43c955249.png" /></p> <p>Commons CSV 是一个用来读写各种 Comma Separated Value (CSV) 格式文件的 Java 库.</p> <p>示例:</p> <pre> <code class="language-java">Reader in = new FileReader("path/to/file.csv"); Iterable<CSVRecord> records = CSVFormat.EXCEL.parse(in); for (CSVRecord record : records) { String lastName = record.get("Last Name"); String firstName = record.get("First Name"); }</code></pre> <h2>更新日志</h2> <table border="0"> <tbody> <tr> <th>Type</th> <th>Changes</th> <th>By</th> </tr> <tr> <td>update</td> <td>Make CSVPrinter.print(Object) GC-free. Fixes <a href="/misc/goto?guid=4958991043783854958">CSV-181</a>. Thanks to Gary Gregory.</td> <td><a href="/misc/goto?guid=4958991043911293780">ggregory</a></td> </tr> <tr> <td style="text-align: center;">add</td> <td>Allow some printing operations directly from CSVFormat. Fixes <a href="/misc/goto?guid=4958991044021410953">CSV-182</a>. Thanks to Gary Gregory.</td> <td><a href="/misc/goto?guid=4958991043911293780">ggregory</a></td> </tr> <tr> <td>update</td> <td>Drop ferc.gov tests. Fixes <a href="/misc/goto?guid=4958991044136257031">CSV-183</a>.</td> <td><a href="/misc/goto?guid=4958991043911293780">ggregory</a></td> </tr> </tbody> </table> <p> </p> <h2>下载</h2> <h3>Binaries</h3> <table border="0"> <tbody> <tr> <td><a href="/misc/goto?guid=4958991044264600740">commons-csv-1.4-bin.tar.gz</a></td> <td><a href="/misc/goto?guid=4958991044402750727">md5</a></td> <td><a href="/misc/goto?guid=4958991044506891471">pgp</a></td> </tr> <tr> <td><a href="/misc/goto?guid=4958991044622940181">commons-csv-1.4-bin.zip</a></td> <td><a href="/misc/goto?guid=4958991044731699189">md5</a></td> <td><a href="/misc/goto?guid=4958991044844156441">pgp</a></td> </tr> </tbody> </table> <h3>Source</h3> <table border="0"> <tbody> <tr> <td><a href="/misc/goto?guid=4958991044950004164">commons-csv-1.4-src.tar.gz</a></td> <td><a href="/misc/goto?guid=4958991045062494296">md5</a></td> <td><a href="/misc/goto?guid=4958991045170341431">pgp</a></td> </tr> <tr> <td><a href="/misc/goto?guid=4958991045277189390">commons-csv-1.4-src.zip</a></td> <td><a href="/misc/goto?guid=4958991045377584768">md5</a></td> <td><a href="/misc/goto?guid=4958991045495919337">pgp</a></td> </tr> </tbody> </table>