public static enum NumberFormat.Style extends Enum<NumberFormat.Style>
| Enum Constant and Description | 
|---|
CURRENCY
The currency format for the current locale. 
 | 
NUMBER
The general-purpose number format for the current locale. 
 | 
PERCENT
The percent format for the current locale. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static NumberFormat.Style | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static NumberFormat.Style[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final NumberFormat.Style NUMBER
public static final NumberFormat.Style CURRENCY
public static final NumberFormat.Style PERCENT
public static NumberFormat.Style[] values()
for (NumberFormat.Style c : NumberFormat.Style.values()) System.out.println(c);
public static NumberFormat.Style valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null