Class StringUtils

java.lang.Object
com.mwdle.bitwarden.util.StringUtils

public final class StringUtils extends Object
Utility for string manipulation and sanitization.
  • Method Details

    • stripToNull

      @CheckForNull public static String stripToNull(@CheckForNull String value)
      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