Package java.util
Class Locale

Public Method getLanguage

String getLanguage()

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Returns the language code for this locale, which will either be the empty string or a lowercast ISO 639 code.

Example

   Locale loc = new Locale("de","AT","vienna");
   Logger.log("" + loc.getLanguage());

The getLanguage method returns the specified language.