Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.FormattableFlags
public class FormattableFlags extends Object
FomattableFlags are passed to the 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 |
---|---|
static int |
ALTERNATE
Requires the output to use an alternate form. |
static int |
LEFT_JUSTIFY
Left-justifies the output. |
static int |
UPPERCASE
Converts the output to upper case according to the rules of the locale given during creation of the formatter argument of the formatTo() method. |
Modifier and Type | Method and Description |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int LEFT_JUSTIFY
This flag corresponds to '-' ('\u002d') in the format specifier.
public static final int UPPERCASE
formatTo()
method. The output should be equivalent the following
invocation of String.toUpperCase(java.util.Locale)
out.toUpperCase()
This flag corresponds to '^' ('\u005e') in the format specifier.
public static final int ALTERNATE
This flag corresponds to '#' ('\u0023') in the format specifier.
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.