Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 15583 invoked from network); 14 Aug 2003 01:21:23 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 14 Aug 2003 01:21:23 -0000 Received: (qmail 25113 invoked by uid 97); 14 Aug 2003 01:24:11 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@nagoya.betaversion.org Received: (qmail 25106 invoked from network); 14 Aug 2003 01:24:11 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 14 Aug 2003 01:24:11 -0000 Received: (qmail 15383 invoked by uid 500); 14 Aug 2003 01:21:20 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 15370 invoked by uid 500); 14 Aug 2003 01:21:20 -0000 Received: (qmail 15364 invoked from network); 14 Aug 2003 01:21:20 -0000 Received: from unknown (HELO minotaur.apache.org) (209.237.227.194) by daedalus.apache.org with SMTP; 14 Aug 2003 01:21:20 -0000 Received: (qmail 5830 invoked by uid 1360); 14 Aug 2003 01:21:37 -0000 Date: 14 Aug 2003 01:21:37 -0000 Message-ID: <20030814012137.5829.qmail@minotaur.apache.org> From: bayard@apache.org To: jakarta-commons-cvs@apache.org Subject: cvs commit: jakarta-commons/lang/src/java/org/apache/commons/lang StringUtils.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N bayard 2003/08/13 18:21:37 Modified: lang/src/java/org/apache/commons/lang StringUtils.java Log: Added in Javadoc for deprecated capitalise methods. Revision Changes Path 1.97 +27 -1 jakarta-commons/lang/src/java/org/apache/commons/lang/StringUtils.java Index: StringUtils.java =================================================================== RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/StringUtils.java,v retrieving revision 1.96 retrieving revision 1.97 diff -u -r1.96 -r1.97 --- StringUtils.java 14 Aug 2003 00:59:39 -0000 1.96 +++ StringUtils.java 14 Aug 2003 01:21:36 -0000 1.97 @@ -3439,6 +3439,11 @@ } /** + *

Capitalizes a String changing the first letter to title case as + * per {@link Character#toTitleCase(char)}. No other letters are changed.

+ * + * @param str the String to capitalize, may be null + * @return the capitalized String, null if null String input * @deprecated Use the standardly named {@link #capitalize(String)}. * Method will be removed in Commons Lang 3.0. */ @@ -3476,6 +3481,11 @@ } /** + *

Uncapitalizes a String changing the first letter to title case as + * per {@link Character#toLowerCase(char)}. No other letters are changed.

+ * + * @param str the String to uncapitalize, may be null + * @return the uncapitalized String, null if null String input * @deprecated Use the standardly named {@link #uncapitalize(String)}. * Method will be removed in Commons Lang 3.0. */ @@ -3578,6 +3588,14 @@ } /** + *

Capitalizes all the whitespace separated words in a String. + * Only the first letter of each word is changed.

+ * + *

Whitespace is defined by {@link Character#isWhitespace(char)}. + * A null input String returns null.

+ * + * @param str the String to capitalize, may be null + * @return capitalized String, null if null String input * @deprecated Use the standardly named {@link #capitalizeAllWords(String)}. * Method will be removed in Commons Lang 3.0. */ @@ -3626,6 +3644,14 @@ } /** + *

Uncapitalizes all the whitespace separated words in a String. + * Only the first letter of each word is changed.

+ * + *

Whitespace is defined by {@link Character#isWhitespace(char)}. + * A null input String returns null.

+ * + * @param str the String to uncapitalize, may be null + * @return uncapitalized String, null if null String input * @deprecated Use the standardly named {@link #uncapitalizeAllWords(String)}. * Method will be removed in Commons Lang 3.0. */ --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org