Skip to content

Commit a318a43

Browse files
committed
[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.
1 parent 86ef75f commit a318a43

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/main/java/org/apache/commons/csv/CSVParser.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,8 @@ public static CSVParser parse(final File file, final Charset charset, final CSVF
172172
*
173173
* @param reader
174174
* a Reader containing CSV-formatted input. Must not be null.
175-
* @param charsetName
176-
* The name of a supported {@link java.nio.charset.Charset
177-
* </code>charset<code>}
175+
* @param charset
176+
* a Charset.
178177
* @param format
179178
* the CSVFormat used for CSV parsing. Must not be null.
180179
* @throws IllegalArgumentException

0 commit comments

Comments
 (0)