public class WhiteUtil extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
WhiteUtil() |
| Modifier and Type | Method and Description |
|---|---|
static @NotNull String |
delete(CharSequence str)
Delete all white chars
|
static boolean |
equalsWithDeleted(CharSequence str1,
CharSequence str2) |
static boolean |
equalsWithSpaced(CharSequence str1,
CharSequence str2) |
static boolean |
isAllWhite(CharSequence str)
Whether all white chars
|
static boolean |
isWhiteSpace(char c) |
static @NotNull List<String> |
lines(CharSequence str) |
static boolean |
notWhiteSpace(char c) |
static @NotNull String |
space(CharSequence str)
Remove all white chars from the header and footer.
|
static @NotNull String |
trim(CharSequence str)
Remove all white chars from the header and footer.
|
static @NotNull String |
trim(CharSequence str,
char... cs) |
public static boolean notWhiteSpace(char c)
public static boolean isWhiteSpace(char c)
@NotNull public static @NotNull String trim(CharSequence str)
@NotNull public static @NotNull String trim(CharSequence str, char... cs)
@NotNull public static @NotNull String space(CharSequence str)
@NotNull public static @NotNull String delete(CharSequence str)
public static boolean isAllWhite(CharSequence str)
public static boolean equalsWithDeleted(CharSequence str1, CharSequence str2)
public static boolean equalsWithSpaced(CharSequence str1, CharSequence str2)
@NotNull public static @NotNull List<String> lines(CharSequence str)
Copyright © 2023. All rights reserved.