public class Formatters extends Object
| Constructor and Description |
|---|
Formatters() |
| Modifier and Type | Method and Description |
|---|---|
static String |
format(String format,
Function<String,Boolean> isTruthy,
int offset,
String... args)
Format a string where the arguments are all strings.
|
static String |
format(String format,
String... args)
Format a string using string, numeric, and date conversions while the
input is strings
|
public static String format(String format, Function<String,Boolean> isTruthy, int offset, String... args)
format - the format stringisTruthy - a function to turn a string into a booleanoffset - the offset in the arguments array to start atargs - the argumentsCopyright © 2021. All rights reserved.