From 4ed7299b5e0788f851ba5fb5e9c9e364e0420cc8 Mon Sep 17 00:00:00 2001 From: Yonik Seeley Date: Thu, 7 Dec 2006 16:32:37 +0000 Subject: [PATCH] deprecate some CSVParser constructors git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@483528 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/commons/csv/CSVParser.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/java/org/apache/commons/csv/CSVParser.java b/src/java/org/apache/commons/csv/CSVParser.java index 4e53fbe4..a331a6d5 100644 --- a/src/java/org/apache/commons/csv/CSVParser.java +++ b/src/java/org/apache/commons/csv/CSVParser.java @@ -111,6 +111,7 @@ public class CSVParser { * * @param input an InputStream containing "csv-formatted" stream * @see #setStrategy() + * @deprecated */ public CSVParser(InputStream input) { this(new InputStreamReader(input)); @@ -135,6 +136,7 @@ public class CSVParser { * * @param input a Reader based on "csv-formatted" input * @param delimiter a Char used for value separation + * @deprecated */ public CSVParser(Reader input, char delimiter) { this(input, delimiter, '"', (char) 0); @@ -151,6 +153,7 @@ public class CSVParser { * @param delimiter a Char used for value separation * @param encapsulator a Char used as value encapsulation marker * @param commentStart a Char used for comment identification + * @deprecated */ public CSVParser(Reader input, char delimiter, char encapsulator, char commentStart) { this(input, new CSVStrategy(delimiter, encapsulator, commentStart));