Package net.orbyfied.j8.util
Class StringUtil
java.lang.Object
net.orbyfied.j8.util.StringUtil
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringextendTail(String str, int targetLength, char ext) static StringCompiles the format into a pattern and immediately formats it with the values.static StringUtil.FormatPatternCompiles a format pattern from a string.
-
Constructor Details
-
StringUtil
public StringUtil()
-
-
Method Details
-
format
Compiles the format into a pattern and immediately formats it with the values.- Parameters:
format- The format.values- Values.- Returns:
- The formatted string.
-
pattern
Compiles a format pattern from a string.- Parameters:
str- The string to parse.- Returns:
- The pattern.
-
extendTail
-