commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r149480 - jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/WordUtils.java
Date Wed, 02 Feb 2005 04:46:04 GMT
Author: bayard
Date: Tue Feb  1 20:46:02 2005
New Revision: 149480

URL: http://svn.apache.org/viewcvs?view=rev&rev=149480
Log:
stab at making the javadoc a bit easier to understand

Modified:
    jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/WordUtils.java

Modified: jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/WordUtils.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/WordUtils.java?view=diff&r1=149479&r2=149480
==============================================================================
--- jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/WordUtils.java (original)
+++ jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/WordUtils.java Tue
Feb  1 20:46:02 2005
@@ -28,7 +28,7 @@
  * @author <a href="mailto:hps@intermeta.de">Henning P. Schmiedehausen</a>
  * @author Gary Gregory
  * @since 2.0
- * @version $Id: WordUtils.java,v 1.16 2004/10/16 15:20:30 scolebourne Exp $
+ * @version $Id$
  */
 public class WordUtils {
 
@@ -218,8 +218,9 @@
     //-----------------------------------------------------------------------
     /**
      * <p>Capitalizes all the whitespace separated words in a String.
-     * Only the first letter of each word is changed. To change all letters to
-     * the capitalized case, use {@link #capitalizeFully(String)}.</p>
+     * Only the first letter of each word is changed. To convert the 
+     * rest of each word to lowercase at the same time, 
+     * use {@link #capitalizeFully(String)}.</p>
      *
      * <p>Whitespace is defined by {@link Character#isWhitespace(char)}.
      * A <code>null</code> input String returns <code>null</code>.
@@ -243,8 +244,9 @@
 
     /**
      * <p>Capitalizes all the delimiter separated words in a String.
-     * Only the first letter of each word is changed. To change all letters to
-     * the capitalized case, use {@link #capitalizeFully(String)}.</p>
+     * Only the first letter of each word is changed. To convert the 
+     * rest of each word to lowercase at the same time, 
+     * use {@link #capitalizeFully(String, char[])}.</p>
      *
      * <p>The delimiters represent a set of characters understood to separate words.
      * The first string character and the first non-delimiter character after a
@@ -311,8 +313,9 @@
     }
 
     /**
-     * <p>Capitalizes all the whitespace separated words in a String.
-     * All letters are changed, so the resulting string will be fully changed.</p>
+     * <p>Converts all the whitespace separated words in a String into capitalized
words, 
+     * that is each word is made up of a titlecase character and then a series of 
+     * lowercase characters.  </p>
      *
      * <p>Whitespace is defined by {@link Character#isWhitespace(char)}.
      * A <code>null</code> input String returns <code>null</code>.
@@ -333,8 +336,9 @@
     }
 
     /**
-     * <p>Capitalizes all the delimiter separated words in a String.
-     * All letters are changed, so the resulting string will be fully changed.</p>
+     * <p>Converts all the delimiter separated words in a String into capitalized words,

+     * that is each word is made up of a titlecase character and then a series of 
+     * lowercase characters. </p>
      *
      * <p>The delimiters represent a set of characters understood to separate words.
      * The first string character and the first non-delimiter character after a



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


Mime
View raw message