public class FormattableFlags extends Object
Formattable.formatTo(Formatter, int, int, int) and change the output
format in Formattables. The validation and interpretation of the
flags must be done by the implementations.Formattable| Modifier and Type | Field and Description |
|---|---|
static int |
ALTERNATE
Denotes the output is to be formatted in an alternate form.
|
static int |
LEFT_JUSTIFY
Denotes the output is to be left-justified.
|
static int |
UPPERCASE
Denotes the output is to be converted to upper case in the way the locale
parameter of Formatter.formatTo() requires.
|
public static final int LEFT_JUSTIFY
public static final int UPPERCASE
String.toUpperCase(java.util.Locale).
This flag corresponds to '^' ('^') in the format specifier.public static final int ALTERNATE
Formattable.
This flag corresponds to '#' ('#') in the format specifier.