public static enum NumberFormatter.Pattern extends java.lang.Enum<NumberFormatter.Pattern>
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getId() |
abstract java.text.NumberFormat |
toFormat(java.util.Locale locale) |
static NumberFormatter.Pattern |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NumberFormatter.Pattern[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NumberFormatter.Pattern DEFAULT
public static final NumberFormatter.Pattern INTEGER
public static final NumberFormatter.Pattern CURRENCY
public static final NumberFormatter.Pattern PERCENT
public static NumberFormatter.Pattern[] values()
for (NumberFormatter.Pattern c : NumberFormatter.Pattern.values()) System.out.println(c);
public static NumberFormatter.Pattern valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null@Nonnull public java.lang.String getId()
public abstract java.text.NumberFormat toFormat(@Nonnull
java.util.Locale locale)
Copyright © 2015 echocat. All Rights Reserved.