public Locale (String language)

Construct a locale from a language code. This constructor normalizes the language value to lowercase.

Note:

Parameters:
language    An ISO 639 alpha-2 or alpha-3 language code, or a language subtag up to 8 characters in length. See the Locale class description about valid language values.

Exceptions:
NullPointerException    thrown if argument is null.

Since:  1.4