deprecate some CSVParser constructors

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@483528 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2006-12-07 16:32:37 +00:00
parent ddda2af066
commit 4ed7299b5e
1 changed files with 3 additions and 0 deletions

View File

@ -111,6 +111,7 @@ public class CSVParser {
* *
* @param input an InputStream containing "csv-formatted" stream * @param input an InputStream containing "csv-formatted" stream
* @see #setStrategy() * @see #setStrategy()
* @deprecated
*/ */
public CSVParser(InputStream input) { public CSVParser(InputStream input) {
this(new InputStreamReader(input)); this(new InputStreamReader(input));
@ -135,6 +136,7 @@ public class CSVParser {
* *
* @param input a Reader based on "csv-formatted" input * @param input a Reader based on "csv-formatted" input
* @param delimiter a Char used for value separation * @param delimiter a Char used for value separation
* @deprecated
*/ */
public CSVParser(Reader input, char delimiter) { public CSVParser(Reader input, char delimiter) {
this(input, delimiter, '"', (char) 0); this(input, delimiter, '"', (char) 0);
@ -151,6 +153,7 @@ public class CSVParser {
* @param delimiter a Char used for value separation * @param delimiter a Char used for value separation
* @param encapsulator a Char used as value encapsulation marker * @param encapsulator a Char used as value encapsulation marker
* @param commentStart a Char used for comment identification * @param commentStart a Char used for comment identification
* @deprecated
*/ */
public CSVParser(Reader input, char delimiter, char encapsulator, char commentStart) { public CSVParser(Reader input, char delimiter, char encapsulator, char commentStart) {
this(input, new CSVStrategy(delimiter, encapsulator, commentStart)); this(input, new CSVStrategy(delimiter, encapsulator, commentStart));