Class Strings

java.lang.Object
org.midheaven.lang.Strings

public class Strings extends Object
Represents Strings.
  • Method Details

    • isBlank

      public static boolean isBlank(CharSequence text)
      Checks whether is Blank.
      Parameters:
      text - the text value
      Returns:
      the result of isBlank
    • isFilled

      public static boolean isFilled(CharSequence text)
      Checks whether is Filled.
      Parameters:
      text - the text value
      Returns:
      the result of isFilled
    • isBlank

      public static boolean isBlank(String text)
      Checks whether is Blank.
      Parameters:
      text - the text value
      Returns:
      the result of isBlank
    • areBlank

      public static boolean areBlank(CharSequence a, CharSequence b)
      Performs areBlank.
      Parameters:
      a - the a value
      b - the b value
      Returns:
      the result of areBlank
    • areBlank

      public static boolean areBlank(CharSequence a, CharSequence b, CharSequence... others)
      Performs areBlank.
      Parameters:
      a - the a value
      b - the b value
      others - the others value
      Returns:
      the result of areBlank
    • isFilled

      public static boolean isFilled(String text)
      Checks whether is Filled.
      Parameters:
      text - the text value
      Returns:
      the result of isFilled
    • areFilled

      public static boolean areFilled(CharSequence a, CharSequence b)
      Performs areFilled.
      Parameters:
      a - the a value
      b - the b value
      Returns:
      the result of areFilled
    • areFilled

      public static boolean areFilled(CharSequence a, CharSequence b, CharSequence... others)
      Performs areFilled.
      Parameters:
      a - the a value
      b - the b value
      others - the others value
      Returns:
      the result of areFilled
    • filled

      public static Maybe<String> filled(String text)
      Performs filled.
      Parameters:
      text - the text value
      Returns:
      the result of filled
    • transform

      public static String transform(String text, Strings.Casing original, Strings.Casing target)
      Performs transform.
      Parameters:
      text - the text value
      original - the original value
      target - the target value
      Returns:
      the result of transform