Modifier and Type | Class and Description |
---|---|
public abstract static class | LocaleData.
A ResourceBundleProvider implementation for loading locale data resource bundles except for the java.time supplementary data. |
private abstract static class | |
private static class | |
public abstract static class | LocaleData.
A ResourceBundleProvider implementation for loading supplementary resource bundles for java.time. |
private static class |
Modifier and Type | Field and Description |
---|---|
private static final Map | |
private static final ResourceBundle. | |
private static final String | |
private final LocaleProviderAdapter. |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public ResourceBundle | getBreakIteratorInfo(Locale locale)
Gets a break iterator info resource bundle, using privileges to allow accessing a sun.* package. |
public ResourceBundle | getBreakIteratorResources(Locale locale)
Gets a break iterator resources resource bundle, using privileges to allow accessing a sun.* package. |
public static ResourceBundle | |
public ResourceBundle | getCalendarData(Locale locale)
Gets a calendar data resource bundle, using privileges to allow accessing a sun.* package. |
public ResourceBundle | getCollationData(Locale locale)
Gets a collation data resource bundle, using privileges to allow accessing a sun.* package. |
public OpenListResourceBundle | getCurrencyNames(Locale locale)
Gets a currency names resource bundle, using privileges to allow accessing a sun.* package. |
public ResourceBundle | getDateFormatData(Locale locale)
Gets a date format data resource bundle, using privileges to allow accessing a sun.* package. |
public OpenListResourceBundle | getLocaleNames(Locale locale)
Gets a locale names resource bundle, using privileges to allow accessing a sun.* package. |
public ResourceBundle | getNumberFormatData(Locale locale)
Gets a number format data resource bundle, using privileges to allow accessing a sun.* package. |
private static OpenListResourceBundle | |
public TimeZoneNamesBundle | getTimeZoneNames(Locale locale)
Gets a time zone names resource bundle, using privileges to allow accessing a sun.* package. |
public void | |
private boolean |
CANDIDATES_MAP | back to summary |
---|---|
private static final Map<String, List<Locale>> CANDIDATES_MAP |
defaultControl | back to summary |
---|---|
private static final ResourceBundle. |
DOTCLDR | back to summary |
---|---|
private static final String DOTCLDR |
type | back to summary |
---|---|
private final LocaleProviderAdapter. |
LocaleData | back to summary |
---|---|
public LocaleData(LocaleProviderAdapter. |
getBreakIteratorInfo | back to summary |
---|---|
public ResourceBundle getBreakIteratorInfo(Locale locale) Gets a break iterator info resource bundle, using privileges to allow accessing a sun.* package. |
getBreakIteratorResources | back to summary |
---|---|
public ResourceBundle getBreakIteratorResources(Locale locale) Gets a break iterator resources resource bundle, using privileges to allow accessing a sun.* package. |
getBundle | back to summary |
---|---|
public static ResourceBundle getBundle(final String baseName, final Locale locale)
|
getCalendarData | back to summary |
---|---|
public ResourceBundle getCalendarData(Locale locale) Gets a calendar data resource bundle, using privileges to allow accessing a sun.* package. |
getCollationData | back to summary |
---|---|
public ResourceBundle getCollationData(Locale locale) Gets a collation data resource bundle, using privileges to allow accessing a sun.* package. |
getCurrencyNames | back to summary |
---|---|
public OpenListResourceBundle getCurrencyNames(Locale locale) Gets a currency names resource bundle, using privileges to allow accessing a sun.* package. |
getDateFormatData | back to summary |
---|---|
public ResourceBundle getDateFormatData(Locale locale) Gets a date format data resource bundle, using privileges to allow accessing a sun.* package. |
getLocaleNames | back to summary |
---|---|
public OpenListResourceBundle getLocaleNames(Locale locale) Gets a locale names resource bundle, using privileges to allow accessing a sun.* package. |
getNumberFormatData | back to summary |
---|---|
public ResourceBundle getNumberFormatData(Locale locale) Gets a number format data resource bundle, using privileges to allow accessing a sun.* package. |
getSupplementary | back to summary |
---|---|
private static OpenListResourceBundle getSupplementary(final String baseName, final Locale locale)
|
getTimeZoneNames | back to summary |
---|---|
public TimeZoneNamesBundle getTimeZoneNames(Locale locale) Gets a time zone names resource bundle, using privileges to allow accessing a sun.* package. |
setSupplementary | back to summary |
---|---|
public void setSupplementary(ParallelListResourceBundle formatData) |
setSupplementary | back to summary |
---|---|
private boolean setSupplementary(String suppName, ParallelListResourceBundle formatData) |
Access | Constructor and Description |
---|---|
public |
CommonResourceBundleProvider | back to summary |
---|---|
public CommonResourceBundleProvider() |
Access | Constructor and Description |
---|---|
private |
Modifier and Type | Method and Description |
---|---|
protected String | toBundleName(String baseName, Locale locale)
Changes baseName to its module dependent package name and calls the super class implementation. |
protected String | toOtherBundleName(String baseName, String bundleName, Locale locale)
Retrieves the other bundle name for legacy ISO 639 languages. |
LocaleDataResourceBundleProvider | back to summary |
---|---|
private LocaleDataResourceBundleProvider() |
toBundleName | back to summary |
---|---|
protected String toBundleName(String baseName, Locale locale) Changes baseName to its module dependent package name and calls the super class implementation. For example, if the baseName is "sun.text.resources.FormatData" and locale is ja_JP, the baseName is changed to "sun.text.resources.ext.FormatData". If baseName contains ".cldr", such as "sun.text.resources.cldr.FormatData", the name is changed to "sun.text.resources.cldr.ext.FormatData". |
toOtherBundleName | back to summary |
---|---|
protected String toOtherBundleName(String baseName, String bundleName, Locale locale) Retrieves the other bundle name for legacy ISO 639 languages. |
Modifier and Type | Field and Description |
---|---|
private static final LocaleData. | |
private static final Set |
Access | Constructor and Description |
---|---|
private |
Modifier and Type | Method and Description |
---|---|
public List | getCandidateLocales(String baseName, Locale locale)
Implements sun. Returns a list of locales to be looked up for bundle loading. |
public Class | getResourceBundleProviderType(String baseName, Locale locale)
Implements sun. Returns the service provider type for the given baseName and locale, or null if no service providers should be used. |
pack-priv boolean | |
public String | toBundleName(String baseName, Locale locale)
Implements sun. Returns the bundle name for the given baseName and locale. |
INSTANCE | back to summary |
---|---|
private static final LocaleData. |
JAVA_BASE_LOCALES | back to summary |
---|---|
private static final Set<Locale> JAVA_BASE_LOCALES |
LocaleDataStrategy | back to summary |
---|---|
private LocaleDataStrategy() |
getCandidateLocales | back to summary |
---|---|
public List Implements sun. Doc from sun. Returns a list of locales to be looked up for bundle loading.
|
getResourceBundleProviderType | back to summary |
---|---|
public Class Implements sun. Doc from sun. Returns the service provider type for the given baseName and locale, or null if no service providers should be used.
|
inJavaBaseModule | back to summary |
---|---|
pack-priv boolean inJavaBaseModule(String baseName, Locale locale) |
toBundleName | back to summary |
---|---|
public String toBundleName(String baseName, Locale locale) Implements sun. Doc from sun. Returns the bundle name for the given baseName and locale.
|
Access | Constructor and Description |
---|---|
public |
SupplementaryResourceBundleProvider | back to summary |
---|---|
public SupplementaryResourceBundleProvider() |
Modifier and Type | Field and Description |
---|---|
private static final LocaleData. | |
private static final Set |
Access | Constructor and Description |
---|---|
private |
Modifier and Type | Method and Description |
---|---|
public List | getCandidateLocales(String baseName, Locale locale)
Overrides sun. Implements sun. Returns a list of locales to be looked up for bundle loading. |
public Class | getResourceBundleProviderType(String baseName, Locale locale)
Overrides sun. Implements sun. Returns the service provider type for the given baseName and locale, or null if no service providers should be used. |
pack-priv boolean | inJavaBaseModule(String baseName, Locale locale)
Overrides sun.
|
INSTANCE | back to summary |
---|---|
private static final LocaleData. Hides sun. |
JAVA_BASE_LOCALES | back to summary |
---|---|
private static final Set<Locale> JAVA_BASE_LOCALES Hides sun. |
SupplementaryStrategy | back to summary |
---|---|
private SupplementaryStrategy() |
getCandidateLocales | back to summary |
---|---|
public List Overrides sun. Implements sun. Doc from sun. Returns a list of locales to be looked up for bundle loading.
|
getResourceBundleProviderType | back to summary |
---|---|
public Class Overrides sun. Implements sun. Doc from sun. Returns the service provider type for the given baseName and locale, or null if no service providers should be used.
|
inJavaBaseModule | back to summary |
---|---|
pack-priv boolean inJavaBaseModule(String baseName, Locale locale) Overrides sun.
|