Add comment about new Tokenizer class in split method

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137785 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stephen Colebourne 2004-02-13 23:32:39 +00:00
parent 52789c773f
commit f93ddafa96
1 changed files with 7 additions and 4 deletions

View File

@ -148,7 +148,7 @@
* @author Phil Steitz
* @author Al Chou
* @since 1.0
* @version $Id: StringUtils.java,v 1.122 2003/12/24 01:33:30 scolebourne Exp $
* @version $Id: StringUtils.java,v 1.123 2004/02/13 23:32:39 scolebourne Exp $
*/
public class StringUtils {
// Performance testing notes (JDK 1.4, Jul03, scolebourne)
@ -1984,7 +1984,8 @@ public static String getNestedString(String str, String open, String close) {
* Whitespace is defined by {@link Character#isWhitespace(char)}.</p>
*
* <p>The separator is not included in the returned String array.
* Adjacent separators are treated as one separator.</p>
* Adjacent separators are treated as one separator.
* For more control over the split use the Tokenizer class.</p>
*
* <p>A <code>null</code> input String returns <code>null</code>.</p>
*
@ -2008,7 +2009,8 @@ public static String[] split(String str) {
* This is an alternative to using StringTokenizer.</p>
*
* <p>The separator is not included in the returned String array.
* Adjacent separators are treated as one separator.</p>
* Adjacent separators are treated as one separator.
* For more control over the split use the Tokenizer class.</p>
*
* <p>A <code>null</code> input String returns <code>null</code>.</p>
*
@ -2064,7 +2066,8 @@ public static String[] split(String str, char separatorChar) {
* This is an alternative to using StringTokenizer.</p>
*
* <p>The separator is not included in the returned String array.
* Adjacent separators are treated as one separator.</p>
* Adjacent separators are treated as one separator.
* For more control over the split use the Tokenizer class.</p>
*
* <p>A <code>null</code> input String returns <code>null</code>.
* A <code>null</code> separatorChars splits on whitespace.</p>