Skip to content

Commit 4ed7299

Browse files
committed
deprecate some CSVParser constructors
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@483528 13f79535-47bb-0310-9956-ffa450edef68
1 parent ddda2af commit 4ed7299

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ Token reset() {
111111
*
112112
* @param input an InputStream containing "csv-formatted" stream
113113
* @see #setStrategy()
114+
* @deprecated
114115
*/
115116
public CSVParser(InputStream input) {
116117
this(new InputStreamReader(input));
@@ -135,6 +136,7 @@ public CSVParser(Reader input) {
135136
*
136137
* @param input a Reader based on "csv-formatted" input
137138
* @param delimiter a Char used for value separation
139+
* @deprecated
138140
*/
139141
public CSVParser(Reader input, char delimiter) {
140142
this(input, delimiter, '"', (char) 0);
@@ -151,6 +153,7 @@ public CSVParser(Reader input, char delimiter) {
151153
* @param delimiter a Char used for value separation
152154
* @param encapsulator a Char used as value encapsulation marker
153155
* @param commentStart a Char used for comment identification
156+
* @deprecated
154157
*/
155158
public CSVParser(Reader input, char delimiter, char encapsulator, char commentStart) {
156159
this(input, new CSVStrategy(delimiter, encapsulator, commentStart));

0 commit comments

Comments
 (0)