API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.util.spi. LocaleNameProvider View Source
Author(s)
Since
1.6
Version
@(#)LocaleNameProvider.java 1.2 05/11/17
Serial
Hierarchy
 Object
      LocaleServiceProvider
          LocaleNameProvider
Implements
Subclasses
Description
publicabstract abstract class LocaleNameProvider
  An abstract class for service providers that provide localized names for the Locale class.
See also:   
Constructors
protected LocaleNameProvider ()
  Sole constructor.
Methods
Hide/Show inherited methods
publicabstract Locale getAvailableLocales () [Inherited From LocaleServiceProvider]
  Returns an array of all locales for which this locale service provider can provide localized objects or names.
publicabstract String getDisplayCountry (String countryCode, Locale locale)
  Returns a localized name for the given ISO 3166 country code and the given locale that is appropriate for display to the user.
publicabstract String getDisplayLanguage (String languageCode, Locale locale)
  Returns a localized name for the given ISO 639 language code and the given locale that is appropriate for display to the user.
publicabstract String getDisplayVariant (String variant, Locale locale)
  Returns a localized name for the given variant code and the given locale that is appropriate for display to the user.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar