You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by yo...@apache.org on 2006/12/07 23:21:55 UTC

svn commit: r483700 - /jakarta/commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/CSVParser.java

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 {@link #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 {@link #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 {@link #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 {@link #CSVParser(Reader,CSVStrategy)}.
    */
   public CSVParser setStrategy(CSVStrategy strategy) {
     this.strategy = strategy;



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org