public static enum ResourceBundleHelper.Format extends Enum<ResourceBundleHelper.Format>
Enum Constant and Description |
---|
MESSAGE |
NO_FORMAT
No formatting.
|
PRINTF |
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
static ResourceBundleHelper.Format |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceBundleHelper.Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceBundleHelper.Format PRINTF
Formatter
public static final ResourceBundleHelper.Format MESSAGE
MessageFormat
public static final ResourceBundleHelper.Format NO_FORMAT
public static ResourceBundleHelper.Format[] values()
for (ResourceBundleHelper.Format c : ResourceBundleHelper.Format.values()) System.out.println(c);
public static ResourceBundleHelper.Format 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 nullpublic String getValue()
Copyright © 2017. All rights reserved.