public static final Locale ROOT
Useful constant for the root locale. The root locale is the locale whose language, country, and variant are empty ("") strings. This is regarded as the base locale of all locales, and is used as the language/country neutral locale for the locale sensitive operations.
then i found Locale.ROOT represent RBControl.properties file.
Correct me if i am wrong.
I said so because i did a test
Therefore, if you pass in a locale who's language, country, and variant are all empty strings (ie Locale.ROOT) the base name file will be returned. So in this case Locale.ROOT can be used to force to base name file to be returned.
Conceptually, getBundle uses the following strategy for locating and instantiating resource bundles:
getBundle uses the base name, the specified locale, and the default locale (obtained from Locale.getDefault) to generate a sequence of candidate bundle names. If the specified locale's language, country, and variant are all empty strings, then the base name is the only candidate bundle name. Otherwise, the following sequence is generated from the attribute values of the specified locale (language1, country1, and variant1) and of the default locale (language2, country2, and variant2):
baseName + "_" + language1 + "_" + country1 + "_" + variant1
baseName + "_" + language1 + "_" + country1
baseName + "_" + language1
baseName + "_" + language2 + "_" + country2 + "_" + variant2
baseName + "_" + language2 + "_" + country2
baseName + "_" + language2