Package net.orbyfied.j8.util
Class StringUtil.FormatPattern
java.lang.Object
net.orbyfied.j8.util.StringUtil.FormatPattern
- Enclosing class:
- StringUtil
Formatting pattern.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FormatPattern
public FormatPattern()
-
-
Method Details
-
part
Get a part at index I.- Parameters:
i- The index.- Returns:
- The part or null if outbound.
-
string
To strings one part of this pattern.- Parameters:
i- The part index.values- The values.- Returns:
- The string or null if something failed.
-
format
Formats this pattern using the values and returns it as a string.- Parameters:
values- Values.- Returns:
- The string or null if it failed.
-