getAdapter

Returns a LocaleProviderAdapter for the given locale service provider that best matches the given locale. This method returns the LocaleProviderAdapter for JRE if none is found for the given locale.

Return

a LocaleProviderAdapter

Parameters

providerClass

the class for the locale service provider

locale

the desired locale.