Constructor Locale(String language)
Member of:
java.util.Locale
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
_locale = new Locale(locale);
2
Locale.setDefault(new Locale(args[0]));
3
bundle= new PBundle( p, new Locale( "" ) );
4
locale = new Locale(parts[0]);
5
resolver.setLocale(request, response, new Locale("nl"));
6
Locale.setDefault(new Locale(lang.getLanguageCode().substring(0,2)));
7
Locale.setDefault(new Locale(locale));
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.