public class Text extends Object
Strings and text.
| Constructor and Description |
|---|
Text()
|
| Modifier and Type | Method and Description |
|---|---|
static String |
getParagraphs(String
|
static boolean |
isWhiteSpace(String
|
static String |
replace(String
This replaces all the occurrences of one substring with another.
|
public static boolean isWhiteSpace(Strings)
public static Stringreplace(String text, String searchFor, String replaceWith)
A comparable method is built into the String class in Java 1.5, but this method is provided to maintain compatibility with Java 1.4. TODO: remove now that we use Java 1.5