描述
The java.util.Locale.getDisplayLanguage(Locale inLocale) method returns a name for the locale's language that is appropriate for display to the user. If possible, the name returned will be localized according to inLocale.
聲明
Following is the declaration for java.util.Locale.getDisplayLanguage() method
public String getDisplayLanguage(Locale inLocale)
參數
NA
返回值
This method does not return a value.
異常
NullPointerException -- if inLocale is null