Method getLocale()
Return type:
java.util.Locale
Member of:
java.util.ResourceBundle
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
messageFormat.setLocale(this.bundle.getLocale());
2
noticeFormat.setLocale(resourceBundle.getLocale());
3
if (list[i].equals(bundle.getLocale())) {
4
bundlesByLocale.put(rb.getLocale(), rb);
5
locale = rb.getLocale();
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.