<i18n dev> How to get ResourceBundle from LocaleData

Masayoshi Okutsu masayoshi.okutsu at oracle.com
Mon Aug 27 20:50:33 PDT 2012

Hi Sean,

LocaleData is a sun private class. It was changed to support different 
locale data sources, such as the platform locale data and CLDR. Please 
use the public APIs, such as DecimalFormatSymbols, to get 
locale-dependent resources. We may change the LocaleData and its related 
classes further.

Is there any reason that you need to use LocaleData?


On 8/28/2012 12:39 PM, Sean Chou wrote:
> Hello ,
>      I noticed that LocaleData class changed a lot static methods to
> instance methods. I have a simple question about how to rewrite this
> invocation: "ResourceBundle rb = LocaleData.getNumberFormatData(locale);' .
>      Thanks in advance.

More information about the i18n-dev mailing list