garydgregory commented on code in PR #502:
URL: https://github.com/apache/commons-csv/pull/502#discussion_r1833448813
##########
src/main/java/org/apache/commons/csv/CSVFormat.java:
##########
@@ -2097,6 +2097,30 @@ public CSVParser parse(final Reader reader) throws
IOException {
return new CSVParser(reader, this);
}
+ /**
+ * Parses the specified content.
+ *
+ * <p>
+ * This method provides a way to parse CSV data from an input stream,
starting at a specified character offset and record number,
+ * using a specified encoding. It returns a {@link CSVParser} that can be
used to iterate over the parsed {@link CSVRecord}s.
+ * </p>
+ *
+ * <p>
+ * For additional parsing options, see the various static parse methods
available on {@link CSVParser}.
+ * </p>
+ *
+ * @param reader the input stream
+ * @param characterOffset the character offset to start parsing from
+ * @param recordNumber the initial record number to start counting from
+ * @param encoding the character encoding of the input stream
+ * @return a parser over a stream of {@link CSVRecord}s.
+ * @throws IOException If an I/O error occurs
+ * @throws CSVException Thrown on invalid input.
+ */
+ public CSVParser parse(final Reader reader, final long characterOffset,
final long recordNumber, String encoding) throws IOException {
Review Comment:
Uh? See
https://github.com/apache/commons-csv/blob/96427fc72fe5873fd0bd23cac147eef302bf5b75/src/main/java/org/apache/commons/csv/CSVParser.java#L151
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]