Package com.mwdle.bitwarden.util
Class StringUtils
java.lang.Object
com.mwdle.bitwarden.util.StringUtils
Utility for string manipulation and sanitization.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringstripToNull(String value) Converts empty or whitespace-only strings to null and strips whitespace.
-
Method Details
-
stripToNull
Converts empty or whitespace-only strings to null and strips whitespace.- Parameters:
value- the string to normalize- Returns:
- the stripped string, or null if it is blank or null
-