commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scolebou...@apache.org
Subject cvs commit: jakarta-commons/lang/src/java/org/apache/commons/lang WordUtils.java
Date Fri, 08 Oct 2004 22:10:37 GMT
scolebourne    2004/10/08 15:10:37

  Modified:    lang/src/java/org/apache/commons/lang WordUtils.java
  Log:
  Javadoc
  
  Revision  Changes    Path
  1.15      +19 -14    jakarta-commons/lang/src/java/org/apache/commons/lang/WordUtils.java
  
  Index: WordUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/WordUtils.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- WordUtils.java	2 Sep 2004 19:04:56 -0000	1.14
  +++ WordUtils.java	8 Oct 2004 22:10:37 -0000	1.15
  @@ -255,13 +255,15 @@
        * upper case.</p>
        *
        * <pre>
  -     * WordUtils.capitalize(null)        = null
  -     * WordUtils.capitalize("")          = ""
  -     * WordUtils.capitalize("i am FINE") = "I Am FINE"
  +     * WordUtils.capitalize(null, *)            = null
  +     * WordUtils.capitalize("", *)              = ""
  +     * WordUtils.capitalize(*, new char[0])     = *
  +     * WordUtils.capitalize("i am fine", null)  = "I Am Fine"
  +     * WordUtils.capitalize("i aM.fine", {'.'}) = "I aM.Fine"
        * </pre>
        * 
        * @param str  the String to capitalize, may be null
  -     * @param delimiters  set of characters to determine capitalization
  +     * @param delimiters  set of characters to determine capitalization, null means whitespace
        * @return capitalized String, <code>null</code> if null String input
        * @see #uncapitalize(String)
        * @see #capitalizeFully(String)
  @@ -342,14 +344,15 @@
        * upper case.</p>
        *
        * <pre>
  -     * WordUtils.capitalizeFully(null, null)                         = null
  -     * WordUtils.capitalizeFully("", null)                           = ""
  -     * WordUtils.capitalizeFully("i am FINE", new char[] {' '})      = "I Am Fine"
  -     * WordUtils.capitalizeFully("i+am-FINE", new char[] {'-', '+'}) = "I+Am-Fine"
  +     * WordUtils.capitalizeFully(null, *)            = null
  +     * WordUtils.capitalizeFully("", *)              = ""
  +     * WordUtils.capitalizeFully(*, null)            = *
  +     * WordUtils.capitalizeFully(*, new char[0])     = *
  +     * WordUtils.capitalizeFully("i aM.fine", {'.'}) = "I am.Fine"
        * </pre>
        * 
        * @param str  the String to capitalize, may be null
  -     * @param delimiters  set of characters to determine capitalization
  +     * @param delimiters  set of characters to determine capitalization, null means whitespace
        * @return capitalized String, <code>null</code> if null String input
        */
       public static String capitalizeFully(String str, char[] delimiters) {
  @@ -393,13 +396,15 @@
        * A <code>null</code> input String returns <code>null</code>.</p>
        *
        * <pre>
  -     * WordUtils.uncapitalize(null)        = null
  -     * WordUtils.uncapitalize("")          = ""
  -     * WordUtils.uncapitalize("I Am FINE") = "i am fINE"
  +     * WordUtils.uncapitalize(null, *)            = null
  +     * WordUtils.uncapitalize("", *)              = ""
  +     * WordUtils.uncapitalize(*, null)            = *
  +     * WordUtils.uncapitalize(*, new char[0])     = *
  +     * WordUtils.uncapitalize("I AM.FINE", {'.'}) = "i AM.fINE"
        * </pre>
        * 
        * @param str  the String to uncapitalize, may be null
  -     * @param delimiters  set of characters to determine uncapitalization
  +     * @param delimiters  set of characters to determine uncapitalization, null means whitespace
        * @return uncapitalized String, <code>null</code> if null String input
        * @see #capitalize(String)
        */
  
  
  

---------------------------------------------------------------------
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