Class Formatters
java.lang.Object
aQute.lib.formatter.Formatters
-
Constructor Details
-
Formatters
public Formatters()
-
-
Method Details
-
format
public static String format(String format, Function<String, Boolean> isTruthy, int offset, String... args) Format a string where the arguments are all strings. The string is formatted with the ROOT Locale.- Parameters:
format- the format stringisTruthy- a function to turn a string into a booleanoffset- the offset in the arguments array to start atargs- the arguments- Returns:
- a formatted string
-
format
-