Package net.mcreator.util
Class StringUtils
java.lang.Object
net.mcreator.util.StringUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
abbreviateString
(String input, int maxLength) static String
abbreviateString
(String input, int maxLength, boolean sumUp) static String
abbreviateStringInverse
(String input, int maxLength) static String
camelToSnake
(String original) static int
countRegexMatches
(String where, String regex) static boolean
isLowercaseLetter
(char c) static boolean
isUppercaseLetter
(char c) static String
justifyText
(String input, int lineWidth, String newLine) static String
lowercaseFirstLetter
(String name) static String
machineToReadableName
(String input) static String
snakeToCamel
(String original) static String
uppercaseFirstLetter
(String name)
-
Constructor Details
-
StringUtils
public StringUtils()
-
-
Method Details
-
abbreviateString
-
abbreviateString
-
abbreviateStringInverse
-
isUppercaseLetter
public static boolean isUppercaseLetter(char c) -
isLowercaseLetter
public static boolean isLowercaseLetter(char c) -
uppercaseFirstLetter
-
lowercaseFirstLetter
-
camelToSnake
-
snakeToCamel
-
machineToReadableName
-
countRegexMatches
-
justifyText
-