Class StringUtils

java.lang.Object
net.mcreator.util.StringUtils

public class StringUtils extends Object
  • Constructor Details

    • StringUtils

      public StringUtils()
  • Method Details

    • abbreviateString

      public static String abbreviateString(String input, int maxLength)
    • abbreviateString

      public static String abbreviateString(String input, int maxLength, boolean sumUp)
    • abbreviateStringInverse

      public static String abbreviateStringInverse(String input, int maxLength)
    • isUppercaseLetter

      public static boolean isUppercaseLetter(char c)
    • isLowercaseLetter

      public static boolean isLowercaseLetter(char c)
    • uppercaseFirstLetter

      public static String uppercaseFirstLetter(String name)
    • lowercaseFirstLetter

      public static String lowercaseFirstLetter(String name)
    • camelToSnake

      public static String camelToSnake(String original)
    • snakeToCamel

      public static String snakeToCamel(String original)
    • machineToReadableName

      public static String machineToReadableName(@Nonnull String input)
    • countRegexMatches

      public static int countRegexMatches(String where, String regex)
    • justifyText

      public static String justifyText(String input, int lineWidth, String newLine)