java.lang.Object | |
↳ | sun.util.LocaleServiceProviderPool |
An instance of this class holds a set of the third party implementations of a particular
locale sensitive service, such as LocaleNameProvider
.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
LocaleServiceProviderPool.LocalizedObjectGetter<P, S> | An interface to get a localized object for each locale sensitve service class. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns an array of available locales for all the provider classes.
| |||||||||||
Returns an array of available locales.
| |||||||||||
Returns the provider's localized object for the specified
locale.
| |||||||||||
Returns the provider's localized name for the specified
locale.
| |||||||||||
Returns the provider's localized name for the specified
locale.
| |||||||||||
A factory method that returns a singleton instance
| |||||||||||
Returns whether any provider for this locale sensitive
service is available or not.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Returns an array of available locales for all the provider classes. This array is a merged array of all the locales that are provided by each provider, including the JRE.
Returns an array of available locales. This array is a merged array of all the locales that are provided by each provider, including the JRE.
Returns the provider's localized object for the specified locale.
getter | an object on which getObject() method is called to obtain the provider's instance. |
---|---|
locale | the given locale that is used as the starting one |
params | provider specific parameters |
Returns the provider's localized name for the specified locale.
getter | an object on which getObject() method is called to obtain the provider's instance. |
---|---|
locale | the given locale that is used as the starting one |
bundleKey | JRE specific bundle key. e.g., "USD" is for currency symbol and "usd" is for currency display name in the JRE bundle. |
bundle | JRE resource bundle that contains the localized names, or null for localized objects. |
key | the key string if bundle is supplied, otherwise null. |
params | provider specific parameters |
Returns the provider's localized name for the specified locale.
getter | an object on which getObject() method is called to obtain the provider's instance. |
---|---|
locale | the given locale that is used as the starting one |
bundle | JRE resource bundle that contains the localized names, or null for localized objects. |
key | the key string if bundle is supplied, otherwise null. |
params | provider specific parameters |
A factory method that returns a singleton instance
Returns whether any provider for this locale sensitive service is available or not.