[CSV-192] Add convenience API CSVParser.parse(Path, Charset, CSVFormat).

Adjust API to be Charset-based instead of String (charset name), just
like it says in the Jira title.
This commit is contained in:
Gary Gregory 2016-07-30 16:25:48 -07:00
parent 86ef75f808
commit a318a437a2
1 changed files with 2 additions and 3 deletions

View File

@ -172,9 +172,8 @@ public final class CSVParser implements Iterable<CSVRecord>, Closeable {
*
* @param reader
* a Reader containing CSV-formatted input. Must not be null.
* @param charsetName
* The name of a supported {@link java.nio.charset.Charset
* </code>charset<code>}
* @param charset
* a Charset.
* @param format
* the CSVFormat used for CSV parsing. Must not be null.
* @throws IllegalArgumentException