Class StrHelper
java.lang.Object
dev.ftb.plugins.ashwing.utils.StrHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisNullOrEmpty(@Nullable String str) Checks if a string is null or empty.static StringtoSafeCase(String str) Converts a string to a safe case for URLs or filenames.static StringtoTitleCase(String str) Converts a string to title case.
-
Constructor Details
-
StrHelper
public StrHelper()
-
-
Method Details
-
isNullOrEmpty
Checks if a string is null or empty.- Parameters:
str- The string to check.- Returns:
- True if the string is null or empty, false otherwise.
-
toTitleCase
-
toSafeCase
-