java.lang.Object
es.kukenan.smartfi.microservice.communication.utils.StringUtils

public class StringUtils extends Object
Custom String handling utilities.
  • Constructor Details

    • StringUtils

      public StringUtils()
  • Method Details

    • capitalize

      public static String capitalize(String text)
      Capitalize the given phrase.
      Parameters:
      text - a phrase.
      Returns:
      the same phrase after capitalizing all its words. If the input phrase is null then null is returned.
    • lowerCase

      public static String lowerCase(String text)
      Converts all of the characters in this String to lower case using the rules of the default locale.
      Parameters:
      text - text to transform to lowercase.
      Returns:
      lowercase text, null if input was null.
    • convertFromUnicodeToGsm7

      public static String convertFromUnicodeToGsm7(String text)
      Convert format UNICODE to GSM 7 to send sms notification by mailjet.
      Parameters:
      text - Text to format.
      Returns:
      String format.