public enum DefaultLocaleAttributesUtil extends Enum<DefaultLocaleAttributesUtil> implements LocaleAttributesUtil
See #createLocaleAttributesUtil() to add more configuration information.
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
static DefaultLocaleAttributesUtil |
get()
Gets the singleton instance of the
LocaleAttributesUtil. |
boolean |
isFormalLocale(Locale locale) |
boolean |
useEasternNameOrder(Locale locale) |
static DefaultLocaleAttributesUtil |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultLocaleAttributesUtil[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultLocaleAttributesUtil INSTANCE
public static DefaultLocaleAttributesUtil[] values()
for (DefaultLocaleAttributesUtil c : DefaultLocaleAttributesUtil.values()) System.out.println(c);
public static DefaultLocaleAttributesUtil 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 static DefaultLocaleAttributesUtil get()
LocaleAttributesUtil.public boolean isFormalLocale(Locale locale)
isFormalLocale in interface LocaleAttributesUtilpublic boolean useEasternNameOrder(Locale locale)
useEasternNameOrder in interface LocaleAttributesUtilCopyright (c) 2016-2017, Salesforce.com, Inc. All rights reserved. Licensed under the BSD 3-Clause license. For full license text, see the LICENSE.txt file in the repository.