| Package | Description |
|---|---|
| com.ibm.icu.text |
| Modifier and Type | Method and Description |
|---|---|
static LocaleDisplayNames |
LocaleDisplayNames.getInstance(Locale locale)
Convenience overload of
getInstance(Locale, DisplayContext...) that specifies
DisplayContext.STANDARD_NAMES. |
static LocaleDisplayNames |
LocaleDisplayNames.getInstance(Locale locale,
DisplayContext... contexts)
Returns an instance of LocaleDisplayNames that returns names formatted for the provided
Locale, using the provided DisplayContext settings |
static LocaleDisplayNames |
LocaleDisplayNames.getInstance(ULocale locale)
Convenience overload of
getInstance(ULocale, DialectHandling) that specifies
STANDARD dialect handling. |
static LocaleDisplayNames |
LocaleDisplayNames.getInstance(ULocale locale,
DisplayContext... contexts)
Returns an instance of LocaleDisplayNames that returns names formatted for the provided locale,
using the provided DisplayContext settings
|
static LocaleDisplayNames |
LocaleDisplayNames.getInstance(ULocale locale,
LocaleDisplayNames.DialectHandling dialectHandling)
Returns an instance of LocaleDisplayNames that returns names formatted for the provided locale,
using the provided dialectHandling.
|
Copyright © 2016 Unicode, Inc. and others.