| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static String | |
| public static CharSequence | |
| public static final boolean | |
| public static final boolean | |
| protected static final boolean | isWhiteSpaceExceptSpace(char ch)
Returns true if the specified char is a white space character but not 0x20. |
| public static String | |
| public static CharSequence | |
| public static CharSequence |
| WhiteSpaceProcessor | back to summary |
|---|---|
| pack-priv WhiteSpaceProcessor() | |
| collapse | back to summary |
|---|---|
| public static String collapse(String text) | |
| collapse | back to summary |
|---|---|
| public static CharSequence collapse(CharSequence text) This is usually the biggest processing bottleneck.
| |
| isWhiteSpace | back to summary |
|---|---|
| public static final boolean isWhiteSpace(CharSequence s) Returns true if the specified string is all whitespace. | |
| isWhiteSpace | back to summary |
|---|---|
| public static final boolean isWhiteSpace(char ch) returns true if the specified char is a white space character. | |
| isWhiteSpaceExceptSpace | back to summary |
|---|---|
| protected static final boolean isWhiteSpaceExceptSpace(char ch) Returns true if the specified char is a white space character but not 0x20. | |
| replace | back to summary |
|---|---|
| public static String replace(String text) | |
| replace | back to summary |
|---|---|
public static CharSequence replace(CharSequence text)
| |
| trim | back to summary |
|---|---|
| public static CharSequence trim(CharSequence text) Equivalent of
| |