@@ -108,7 +108,7 @@ Token reset() {
108108 *
109109 * @param input an InputStream containing "csv-formatted" stream
110110 * @see #setStrategy()
111- * @deprecated
111+ * @deprecated use {@link #CSVParser(Reader)}.
112112 */
113113 public CSVParser (InputStream input ) {
114114 this (new InputStreamReader (input ));
@@ -133,7 +133,7 @@ public CSVParser(Reader input) {
133133 *
134134 * @param input a Reader based on "csv-formatted" input
135135 * @param delimiter a Char used for value separation
136- * @deprecated
136+ * @deprecated use {@link #CSVParser(Reader,CSVStrategy)}.
137137 */
138138 public CSVParser (Reader input , char delimiter ) {
139139 this (input , delimiter , '"' , (char ) 0 );
@@ -150,7 +150,7 @@ public CSVParser(Reader input, char delimiter) {
150150 * @param delimiter a Char used for value separation
151151 * @param encapsulator a Char used as value encapsulation marker
152152 * @param commentStart a Char used for comment identification
153- * @deprecated
153+ * @deprecated use {@link #CSVParser(Reader,CSVStrategy)}.
154154 */
155155 public CSVParser (Reader input , char delimiter , char encapsulator , char commentStart ) {
156156 this (input , new CSVStrategy (delimiter , encapsulator , commentStart ));
@@ -564,7 +564,7 @@ protected int unicodeEscapeLexer(int c) throws IOException {
564564 * Sets the specified CSV Strategy
565565 *
566566 * @return current instance of CSVParser to allow chained method calls
567- * @deprecated
567+ * @deprecated the strategy should be set in the constructor {@link #CSVParser(Reader,CSVStrategy)}.
568568 */
569569 public CSVParser setStrategy (CSVStrategy strategy ) {
570570 this .strategy = strategy ;
0 commit comments