Uses of Class java.util.Locale

Uses in package javax.imageio

Constructors with parameter type java.util.Locale

Creates an ImageWriteParam object with the given locale.

Fields of type java.util.Locale

Locale[]
All locales available for localization of warning messages, or null if localization is not supported.
Locale[]
All locales available for localization of warning messages, or null if localization is not supported.
Locale
The current locale used to localize warning messages, or null if no locale has been set.
Locale
Localizes compression type names and quality descriptions, or null to use default Locale.
Locale
The current locale used to localize warning messages, or null if no locale has been set.

Methods with parameter type java.util.Locale

void
Set the current locale or use the default locale.
void
Set the current locale or use the default locale.

Methods with return type java.util.Locale

Locale[]
Retrieve the available locales.
Locale[]
Retrieve the available locales.
Locale
Get this reader's locale. null is returned if the locale has not been set.
Locale
Locale
Get this writer's locale. null is returned if the locale has not been set.

Uses in package org.xml.sax.helpers

Methods with parameter type java.util.Locale

void
Set the locale for error reporting.

Uses in package javax.accessibility

Methods with parameter type java.util.Locale

String
AccessibleBundle.toDisplayString(String resourceBundle, Locale locale)
Obtains the key as a localized string, falling back to the locale-independent version if necessary.
String
Obtains the key as a localized string, falling back to the locale-independent version if necessary.

Methods with return type java.util.Locale

Locale
Gets the component locale, deferring to the parent if one is not declared.

Uses in package java.awt

Methods with parameter type java.util.Locale

String[]
Returns an array of the font family names available in this environment, localized to the current Locale if l is non-null.
String
Returns the family name of this font.
String
Returns the font face name of the font.
ComponentOrientation
Gets an orientation appropriate for the locale.
void
Sets the locale for this component to the specified locale.

Methods with return type java.util.Locale

Locale
Returns the locale for this component.
Locale
Returns the locale of this component.
Locale
Returns the locale currently in use by this component.
Locale
Returns the locale that this window is configured for.

Uses in package javax.xml.datatype

Methods with parameter type java.util.Locale

GregorianCalendar

Uses in package java.nio.charset

Methods with parameter type java.util.Locale

String

Uses in package javax.swing.table

Methods with return type java.util.Locale

Locale
Gets the component locale, deferring to the parent if one is not declared.

Uses in package java.text.spi

Methods with parameter type java.util.Locale

BreakIterator
Returns a BreakIterator instance for character breaks in the specified Locale.
NumberFormat
Returns a NumberFormat instance for monetary values in the specified Locale.
DateFormat
Returns a DateFormat instance for formatting dates with the given style in the specified Locale.
DateFormat
DateFormatProvider.getDateTimeInstance(int dateStyle, int timeStyle, Locale locale)
Returns a DateFormat instance for formatting dates and times with the given style in the specified Locale.
Collator
Returns a Collator instance for the specified Locale.
DateFormatSymbols
Returns a DateFormatSymbols instance for the specified Locale.
DecimalFormatSymbols
Returns a DecimalFormatSymbols instance for the specified Locale.
NumberFormat
Returns a NumberFormat instance for integers in the specified Locale.
BreakIterator
Returns a BreakIterator instance for line breaks in the specified Locale.
NumberFormat
Returns a general-purpose NumberFormat instance in the specified Locale.
NumberFormat
Returns a NumberFormat instance for percentage values in the specified Locale.
BreakIterator
Returns a BreakIterator instance for sentence breaks in the specified Locale.
DateFormat
Returns a DateFormat instance for formatting times with the given style in the specified Locale.
BreakIterator
Returns a BreakIterator instance for word breaks in the specified Locale.

Uses in package java.util

Constructors with parameter type java.util.Locale

Constructs a new Calendar with the given time zone and the given locale.
Formatter.Formatter(File file, String charset, Locale loc)
Constructs a new Formatter using the specified file as the output stream with the supplied character set and locale.
Constructs a new Formatter using the specified output stream with the supplied character set and locale.
Constructs a new Formatter using the specified locale and the specified output stream.
Formatter.Formatter(String file, String charset, Locale loc)
Constructs a new Formatter using the specified file as the output stream with the supplied character set and locale.
Constructs a new Formatter using the specified locale and a StringBuilder as the output stream.
Constructs a new GregorianCalender representing the current time, using the default time zone and the specified locale.
Constructs a new GregorianCalender representing the current time with the given time zone and the given locale.

Fields of type java.util.Locale

Locale
Locale which represents the English speaking portion of Canada.
Locale
Locale which represents the French speaking portion of Canada.
Locale
Locale which represents China.
Locale
Locale which represents the Chinese language.
Locale
Locale which represents the English language.
Locale
Locale which represents France.
Locale
Locale which represents the French language.
Locale
Locale which represents the German language.
Locale
Locale which represents Germany.
Locale
Locale which represents the Italian language.
Locale
Locale which represents Italy.
Locale
Locale which represents Japan.
Locale
Locale which represents the Japanese language.
Locale
Locale which represents Korea.
Locale
Locale which represents the Korean language.
Locale
Locale which represents the People's Republic of China.
Locale
The root locale, used as the base case in lookups by locale-sensitive operations.
Locale
Locale which represents the Chinese language as used in China.
Locale
Locale which represents Taiwan.
Locale
Locale which represents the Chinese language as used in Taiwan.
Locale
Locale which represents the United Kingdom.
Locale
Locale which represents the United States.

Methods with parameter type java.util.Locale

Formatter
Formatter.format(Locale loc, String fmt, java.lang.Object... args)
Outputs a formatted string based on the supplied specification, fmt, and its arguments using the specified locale.
ResourceBundle
Get the appropriate ResourceBundle for the given locale.
ResourceBundle
ResourceBundle.getBundle(String baseName, Locale locale, ClassLoader classLoader)
Get the appropriate ResourceBundle for the given locale.
String
Gets the name of the country specified by this locale, in a form suitable for display to the user.
String
Gets the name of the language specified by this locale, in a form suitable for display to the user.
String
TimeZone.getDisplayName(boolean dst, int style, Locale locale)
This method returns a string name of the time zone suitable for displaying to the user.
String
Calendar.getDisplayName(int field, int style, Locale locale)
Returns a localised textual representation of the current value of the given field using the specified style.
String
Gets all local components suitable for display to the user, formatted for a specified locale.
String
This method returns a string name of the time zone suitable for displaying to the user.
Map
Calendar.getDisplayNames(int field, int style, Locale locale)
Returns a map linking all specified textual representations of the given field to their numerical values.
String
Gets the name of the variant specified by this locale, in a form suitable for display to the user.
Calendar
Creates a calendar representing the actual time, using the default time zone and the given locale.
Currency
Builds a new currency instance for this locale.
Calendar
Creates a calendar representing the actual time, using the given time zone and locale.
String
This method returns the symbol which precedes or follows a value in this particular currency.
void
Changes the default locale.

Methods with return type java.util.Locale

Locale[]
Gets the set of locales for which a Calendar is available.
Locale[]
Returns the list of available locales.
Locale
Returns the default Locale.
Locale
Return the actual locale of this bundle.
Locale
Returns the locale used by this formatter.

Uses in package java.util.spi

Methods with parameter type java.util.Locale

String
Returns the localized name for the specified ISO 3166 country in the supplied Locale.
String
Returns the localized name for the specified ISO 639 language in the supplied Locale.
String
TimeZoneNameProvider.getDisplayName(String id, boolean daylight, int style, Locale locale)
Returns a name for the specified time zone identifier localized to the supplied Locale.
String
Returns the localized name for the specified variant in the supplied Locale.
String
This method returns the symbol which precedes or follows a value in this particular currency.

Methods with return type java.util.Locale

Locale[]
Returns an array of Locale instances, for which the provider can supply localized data.

Uses in package javax.imageio.plugins.jpeg

Constructors with parameter type java.util.Locale

Construct a JPEGImageWriteParam with the following state: tiling is not supported, progressive mode is supported, initial progressive mode is MODE_DISABLED, compression is supported, one compression type named "JPEG" is supported and the default compression quality is 0.75f.

Uses in package java.awt.im

Methods with parameter type java.util.Locale

boolean
Attempts to select an input method or keyboard layout which supports the given locale.

Methods with return type java.util.Locale

Locale
Returns the current locale of the current input method or keyboard layout.

Uses in package java.io

Methods with parameter type java.util.Locale

PrintStream
PrintStream.format(Locale locale, String format, java.lang.Object... args)
PrintWriter
PrintWriter.format(Locale locale, String format, java.lang.Object... args)
PrintStream
PrintStream.printf(Locale locale, String format, java.lang.Object... args)
PrintWriter
PrintWriter.printf(Locale locale, String format, java.lang.Object... args)

Uses in package javax.imageio.metadata

Methods with parameter type java.util.Locale

String
String
String
String

Uses in package java.beans.beancontext

Constructors with parameter type java.util.Locale

Construct a BeanContextServicesSupport instance.
Construct a BeanContextServicesSupport instance.
BeanContextServicesSupport.BeanContextServicesSupport(BeanContextServices peer, Locale locale, boolean dtime, boolean visible)
Construct a BeanContextServicesSupport instance.
Construct a BeanContextSupport instance.
Construct a BeanContextSupport instance.
BeanContextSupport.BeanContextSupport(BeanContext peer, Locale locale, boolean dtime, boolean visible)
Construct a BeanContextSupport instance.

Fields of type java.util.Locale

Locale

Methods with parameter type java.util.Locale

void

Methods with return type java.util.Locale

Locale

Uses in package javax.imageio.plugins.bmp

Constructors with parameter type java.util.Locale

Constructs a BMPImageWriteParam set to use a given Locale and with default values for all parameters.

Uses in package javax.print.attribute

Constructors with parameter type java.util.Locale

Creates a TextSyntax object with the given value and locale.

Methods with return type java.util.Locale

Locale
Returns the locale of this syntax object.

Uses in package java.lang

Methods with parameter type java.util.Locale

String
String.format(Locale locale, String format, java.lang.Object... args)
String
Lowercases this String according to a particular locale.
String
Uppercases this String according to a particular locale.

Uses in package javax.swing

Methods with parameter type java.util.Locale

Object
Returns the entry for the specified key in the Locale loc.
Object
UIManager.get(Object key, Locale locale)
Returns an object from the UIDefaults table for the current LookAndFeel.
boolean
Returns a boolean entry for a specic locale.
boolean
Returns a boolean value from the defaults table.
Border
Returns a border entry for a specic locale.
Border
Returns a border from the defaults table.
Color
Returns a color entry for a specic locale.
Color
Returns a drawing color from the defaults table.
Dimension
Returns a dimension entry for a specic locale.
Dimension
Returns a dimension from the defaults table.
Font
Returns a font entry for a specic locale.
Font
Retrieves a font from the defaults table of the current LookAndFeel.
Icon
Returns an icon entry for a specic locale.
Icon
Returns an icon from the defaults table.
Insets
Returns an insets entry for a specic locale.
Insets
Returns an Insets object from the defaults table.
int
Returns an integer entry for a specic locale.
int
UIManager.getInt(Object key, Locale locale)
Returns the integer value of the Integer associated with the given key.
String
Returns a string entry for a specic locale.
String
Returns the String associated with the given key.
void
Sets the locale to be used as the default for all new components.
void
Sets the current locale to loc.

Methods with return type java.util.Locale

Locale
Returns the locale used as the default for all new components.
Locale
Returns the current default locale.
Locale
Returns the locale of this object.
Locale
Returns the locale of this component.
Locale
Returns the locale setting for this accessible table cell.
Locale
Gets the locale of the component.

Uses in package java.awt.im.spi

Methods with parameter type java.util.Locale

String
Returns a user visible name of the input locale, displayed in the specified locale.
Image
Returns a 16x16 icon for the input locale.
boolean
Sets the input locale.

Methods with return type java.util.Locale

Locale[]
Returns the locales supported by the input method this describes.
Locale
Returns the current input locale, or null if none is defined.

Uses in package javax.security.auth.callback

Methods with parameter type java.util.Locale

void
Set the retrieved Locale.

Methods with return type java.util.Locale

Locale
Get the retrieved Locale.

Uses in package org.xml.sax

Methods with parameter type java.util.Locale

void
Allow an application to request a locale for errors and warnings.

Uses in package javax.print.attribute.standard

Constructors with parameter type java.util.Locale

DocumentName.DocumentName(String documentName, Locale locale)
Creates a DocumentName object.
Creates a JobMessageFromOperator object.
JobName.JobName(String jobName, Locale locale)
Creates a JobName object.
Creates a JobOriginatingUserName object.
Creates a OutputDeviceAssigned object.
PrinterInfo.PrinterInfo(String printerInfo, Locale locale)
Creates a PrinterInfo object.
PrinterLocation.PrinterLocation(String printerLocation, Locale locale)
Creates a PrinterLocation object.
Creates a PrinterMakeAndModel object.
Creates a PrinterMessageFromOperator object.
PrinterName.PrinterName(String printerName, Locale locale)
Creates a PrinterName object.
Creates a RequestingUserName object.

Uses in package java.applet

Methods with return type java.util.Locale

Locale
Returns the locale for this applet, if it has been set.

Uses in package java.text

Constructors with parameter type java.util.Locale

This method initializes a new instance of DateFormatSymbols by loading the date format information for the specified locale.
This method initializes a new instance of DecimalFormatSymbols for the specified locale.
Creates a new MessageFormat object with the specified pattern
Creates a date formatter using the specified non-localized pattern, with the default DateFormatSymbols for the given locale.

Methods with parameter type java.util.Locale

BreakIterator
This method returns an instance of BreakIterator that will iterate over characters as defined in the specified locale.
NumberFormat
This method returns an instance of NumberFormat suitable for formatting and parsing currency values in the specified locale.
DateFormat
This method returns an instance of DateFormat that will format using the specified formatting style for dates.
DateFormat
DateFormat.getDateTimeInstance(int dateStyle, int timeStyle, Locale loc)
This method returns a new instance of DateFormat that formats both dates and times using the specified styles.
Collator
This method returns an instance of Collator for the specified locale.
DateFormatSymbols
Returns a DateFormatSymbols instance for the specified locale obtained from either the runtime itself or one of the installed DateFormatSymbolsProvider instances.
DecimalFormatSymbols
Returns a DecimalFormatSymbols instance for the specified locale obtained from either the runtime itself or one of the installed DecimalFormatSymbolsProvider instances.
NumberFormat
This method returns a default instance for the specified locale.
NumberFormat
This method returns an integer formatting and parsing class for the default locale.
BreakIterator
This method returns an instance of BreakIterator that will iterate over line breaks as defined in the specified locale.
NumberFormat
This method returns a general purpose number formatting and parsing class for the default locale.
NumberFormat
This method returns an instance of NumberFormat suitable for formatting and parsing percentage values in the specified locale.
BreakIterator
This method returns an instance of BreakIterator that will iterate over sentences as defined in the specified locale.
DateFormat
This method returns an instance of DateFormat that will format using the specified formatting style for times.
BreakIterator
This method returns an instance of BreakIterator that will iterate over words as defined in the specified locale.
void
Sets the locale.

Methods with return type java.util.Locale

Locale[]
This method returns a list of locales for which instances of BreakIterator are available.
Locale[]
This method returns an array of Locale objects which is the list of locales for which Collator objects exist.
Locale[]
This method returns a list of available locales supported by this class.
Locale[]
This method returns a list of locales for which concrete instances of NumberFormat subclasses may be created.
Locale
Returns the locale.

Uses in package javax.imageio.spi

Methods with parameter type java.util.Locale

String
Returns a short description of this service provider that can be presented to a human user.