Formattable.formatTo() method and modify the output format for Formattables. Implementations of Formattable are
responsible for interpreting and validating any flags.
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALTERNATE
Requires the output to use an alternate form. |
| public static final int | LEFT_JUSTIFY
Left-justifies the output. |
| public static final int | UPPERCASE
Converts the output to upper case according to the rules of the
locale given during creation of the
|
| Access | Constructor and Description |
|---|---|
| private |
| ALTERNATE | back to summary |
|---|---|
| public static final int ALTERNATE Requires the output to use an alternate form. The definition of the
form is specified by the This flag corresponds to | |
| LEFT_JUSTIFY | back to summary |
|---|---|
| public static final int LEFT_JUSTIFY Left-justifies the output. Spaces ( This flag corresponds to | |
| UPPERCASE | back to summary |
|---|---|
| public static final int UPPERCASE Converts the output to upper case according to the rules of the
locale given during creation of the
out.toUpperCase()
This flag corresponds to | |
| FormattableFlags | back to summary |
|---|---|
| private FormattableFlags() | |