public class BooleanFormatter extends java.lang.Object implements ArgumentFormatter<java.lang.Boolean>
Constructor and Description |
---|
BooleanFormatter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
format(java.lang.Boolean b,
java.lang.String... args)
Format a single argument by taking optional formatter arguments into account.
|
public java.lang.String format(java.lang.Boolean b, java.lang.String... args)
ArgumentFormatter
format
in interface ArgumentFormatter<java.lang.Boolean>
b
- the object to formatargs
- optional arguments for the formatter to control the formatting.