Uses of Class
java.util.Locale

Packages that use Locale
java.applet   
java.awt   
java.lang   
java.util   
 

Uses of Locale in java.applet
 

Methods in java.applet that return Locale
 Locale Applet.getLocale()
          Gets the Locale for the applet, if it has been set.
 

Uses of Locale in java.awt
 

Fields in java.awt declared as Locale
(package private)  Locale Component.locale
          The locale for the component.
 

Methods in java.awt that return Locale
 Locale Component.getLocale()
          Gets the locale of this component.
 Locale Window.getLocale()
          Gets the Locale object that is associated with this window, if the locale has been set.
 

Methods in java.awt with parameters of type Locale
 void Component.setLocale(Locale l)
          Sets the locale of this component.
abstract  String[] GraphicsEnvironment.getAvailableFontFamilyNames(Locale l)
          Returns an array containing the localized names of all font families available in this GraphicsEnvironment.
static ComponentOrientation ComponentOrientation.getOrientation(Locale locale)
          Return the orientation that is appropriate for the given locale
 String Font.getFamily(Locale l)
          Returns the family name of this Font, localized for the specified locale.
 String Font.getFontName(Locale l)
          Returns the font face name of the Font, localized for the specified locale.
private  short Font.getLcidFromLocale(Locale l)
           
 

Uses of Locale in java.lang
 

Methods in java.lang with parameters of type Locale
 String String.toLowerCase(Locale locale)
          Converts all of the characters in this String to lower case using the rules of the given Locale.
 String String.toUpperCase(Locale locale)
          Converts all of the characters in this String to upper case using the rules of the given locale.
 

Uses of Locale in java.util
 

Fields in java.util declared as Locale
static Locale Locale.ENGLISH
          Useful constant for language.
static Locale Locale.FRENCH
          Useful constant for language.
static Locale Locale.GERMAN
          Useful constant for language.
static Locale Locale.ITALIAN
          Useful constant for language.
static Locale Locale.JAPANESE
          Useful constant for language.
static Locale Locale.KOREAN
          Useful constant for language.
static Locale Locale.CHINESE
          Useful constant for language.
static Locale Locale.SIMPLIFIED_CHINESE
          Useful constant for language.
static Locale Locale.TRADITIONAL_CHINESE
          Useful constant for language.
static Locale Locale.FRANCE
          Useful constant for country.
static Locale Locale.GERMANY
          Useful constant for country.
static Locale Locale.ITALY
          Useful constant for country.
static Locale Locale.JAPAN
          Useful constant for country.
static Locale Locale.KOREA
          Useful constant for country.
static Locale Locale.CHINA
          Useful constant for country.
static Locale Locale.PRC
          Useful constant for country.
static Locale Locale.TAIWAN
          Useful constant for country.
static Locale Locale.UK
          Useful constant for country.
static Locale Locale.US
          Useful constant for country.
static Locale Locale.CANADA
          Useful constant for country.
static Locale Locale.CANADA_FRENCH
          Useful constant for country.
private static Locale Locale.defaultLocale
           
 

Methods in java.util that return Locale
static Locale[] Calendar.getAvailableLocales()
          Gets the list of locales for which Calendars are installed.
 Locale ResourceBundle.getLocale()
          Return the Locale for this ResourceBundle.
static Locale Locale.getDefault()
          Common method of getting the current default Locale.
static Locale[] Locale.getAvailableLocales()
          Returns a list of all installed locales.
 

Methods in java.util with parameters of type Locale
static Calendar Calendar.getInstance(Locale aLocale)
          Gets a calendar using the default time zone and specified locale.
static Calendar Calendar.getInstance(TimeZone zone, Locale aLocale)
          Gets a calendar with the specified time zone and locale.
private  void Calendar.setWeekCountData(Locale desiredLocale)
          Both firstDayOfWeek and minimalDaysInFirstWeek are locale-dependent.
 String TimeZone.getDisplayName(Locale locale)
          Returns a name of this time zone suitable for presentation to the user in the specified locale.
 String TimeZone.getDisplayName(boolean daylight, int style, Locale locale)
          Returns a name of this time zone suitable for presentation to the user in the specified locale.
static ResourceBundle ResourceBundle.getBundle(String baseName, Locale locale)
          Get the appropriate ResourceBundle subclass.
static ResourceBundle ResourceBundle.getBundle(String baseName, Locale locale, ClassLoader loader)
          Get the appropriate ResourceBundle subclass.
static void Locale.setDefault(Locale newLocale)
          Sets the default locale for the whole JVM.
 String Locale.getDisplayLanguage(Locale inLocale)
          Returns a name for the locale's language that is appropriate for display to the user.
 String Locale.getDisplayCountry(Locale inLocale)
          Returns a name for the locale's country that is appropriate for display to the user.
 String Locale.getDisplayVariant(Locale inLocale)
          Returns a name for the locale's variant code that is appropriate for display to the user.
 String Locale.getDisplayName(Locale inLocale)
          Returns a name for the locale that is appropriate for display to the user.
 

Constructors in java.util with parameters of type Locale
Calendar.Calendar(TimeZone zone, Locale aLocale)
          Constructs a calendar with the specified time zone and locale.
GregorianCalendar.GregorianCalendar(Locale aLocale)
          Constructs a GregorianCalendar based on the current time in the default time zone with the given locale.
GregorianCalendar.GregorianCalendar(TimeZone zone, Locale aLocale)
          Constructs a GregorianCalendar based on the current time in the given time zone with the given locale.