public class FormattableFlags extends Object
Formattable#formatTo() method.
They are used to modify the output of the
Formattable. The interpretation and
validation of the flags is left to the
particular Formattable.| Modifier and Type | Field and Description |
|---|---|
static int |
ALTERNATE
Requires the use of an alternate form, as specified
in the documentation of
Formattable. |
static int |
LEFT_JUSTIFY
Requires the output to be left-justified.
|
static int |
UPPERCASE
Requires the output to be in uppercase.
|
public static final int ALTERNATE
Formattable.
The output is as for the format specifier
'#' ('#').public static final int LEFT_JUSTIFY
public static final int UPPERCASE
String#toUpperCase(java.util.Locale) with
the formatting locale. The output is as for the
format specifier '^' ('^').