Author: yonik
Date: Thu Dec 7 14:21:55 2006
New Revision: 483700
URL: http://svn.apache.org/viewvc?view=rev&rev=483700
Log:
add replacement notes for deprecated methods
Modified:
jakarta/commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/CSVParser.java
Modified:
jakarta/commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/CSVParser.java
URL:
http://svn.apache.org/viewvc/jakarta/commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/CSVParser.java?view=diff&rev=483700&r1=483699&r2=483700
==============================================================================
---
jakarta/commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/CSVParser.java
(original)
+++
jakarta/commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/CSVParser.java
Thu Dec 7 14:21:55 2006
@@ -108,7 +108,7 @@
*
* @param input an InputStream containing "csv-formatted" stream
* @see #setStrategy()
- * @deprecated
+ * @deprecated use [EMAIL PROTECTED] #CSVParser(Reader)}.
*/
public CSVParser(InputStream input) {
this(new InputStreamReader(input));
@@ -133,7 +133,7 @@
*
* @param input a Reader based on "csv-formatted" input
* @param delimiter a Char used for value separation
- * @deprecated
+ * @deprecated use [EMAIL PROTECTED] #CSVParser(Reader,CSVStrategy)}.
*/
public CSVParser(Reader input, char delimiter) {
this(input, delimiter, '"', (char) 0);
@@ -150,7 +150,7 @@
* @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
+ * @deprecated use [EMAIL PROTECTED] #CSVParser(Reader,CSVStrategy)}.
*/
public CSVParser(Reader input, char delimiter, char encapsulator, char
commentStart) {
this(input, new CSVStrategy(delimiter, encapsulator, commentStart));
@@ -564,7 +564,7 @@
* Sets the specified CSV Strategy
*
* @return current instance of CSVParser to allow chained method calls
- * @deprecated
+ * @deprecated the strategy should be set in the constructor [EMAIL
PROTECTED] #CSVParser(Reader,CSVStrategy)}.
*/
public CSVParser setStrategy(CSVStrategy strategy) {
this.strategy = strategy;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]