Microsoft SDK for Java

Locale.getDefaultLanguage

Retrieves the language identifier for the principal language spoken in this locale.

Syntax

public int getDefaultLanguage()

Return Value

Returns an integer that represents the language identifier for the principal language in this locale.

Remarks

This method is provided so that partially specified locales can be completed with default values.

See Also   getAbbrevLanguage, getNativeLanguage, getLanguage, getEnglishLanguage, getISO639LanguageName, getLanguageId

© 1999 Microsoft Corporation. All rights reserved. Terms of use.