|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Locale | |
---|---|
java.applet | Provides the classes necessary to create an applet and the classes an applet uses to communicate with its applet context. |
java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images. |
java.awt.im | Provides classes and interfaces for the input method framework. |
java.awt.im.spi | Provides interfaces that enable the development of input methods that can be used with any Java runtime environment. |
java.beans.beancontext | Provides classes and interfaces relating to bean context. |
java.io | Provides for system input and output through data streams, serialization and the file system. |
java.lang | Provides classes that are fundamental to the design of the Java programming language. |
java.nio.charset | Defines charsets, decoders, and encoders, for translating between bytes and Unicode characters. |
java.text | Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages. |
java.text.spi | Service provider classes for the classes in the java.text package. |
java.util | Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array). |
java.util.spi | Service provider classes for the classes in the java.util package. |
javax.accessibility | Defines a contract between user-interface components and an assistive technology that provides access to those components. |
javax.annotation.processing | Facilities for declaring annotation processors and for allowing annotation processors to communicate with an annotation processing tool environment. |
javax.imageio | The main package of the Java Image I/O API. |
javax.imageio.metadata | A package of the Java Image I/O API dealing with reading and writing metadata. |
javax.imageio.plugins.bmp | Package containing the public classes used by the built-in BMP plug-in. |
javax.imageio.plugins.jpeg | Classes supporting the built-in JPEG plug-in. |
javax.imageio.spi | A package of the Java Image I/O API containing the plug-in interfaces for readers, writers, transcoders, and streams, and a runtime registry. |
javax.print.attribute | Provides classes and interfaces that describe the types of JavaTM Print Service attributes and how they can be collected into attribute sets. |
javax.print.attribute.standard | Package javax.print.attribute.standard contains classes for specific printing attributes. |
javax.security.auth.callback | This package provides the classes necessary for services to interact with applications in order to retrieve information (authentication data including usernames or passwords, for example) or to display information (error and warning messages, for example) |
javax.swing | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. |
javax.swing.table | Provides classes and interfaces for dealing with
javax.swing.JTable . |
javax.tools | Provides interfaces for tools which can be invoked from a program, for example, compilers. |
javax.xml.datatype | XML/Java Type Mappings. |
javax.xml.soap | Provides the API for creating and building SOAP messages. |
org.xml.sax | This package provides the core SAX APIs. |
org.xml.sax.helpers | This package contains "helper" classes, including support for bootstrapping SAX-based applications. |
Uses of Locale in java.applet |
---|
Methods in java.applet that return Locale | |
---|---|
Locale |
Applet.getLocale()
Gets the locale of the applet. |
Uses of Locale in java.awt |
---|
Methods in java.awt that return Locale | |
---|---|
Locale |
Window.getLocale()
Gets the Locale object that is associated
with this window, if the locale has been set. |
Locale |
MenuComponent.AccessibleAWTMenuComponent.getLocale()
Returns the locale of this object. |
Locale |
List.AccessibleAWTList.AccessibleAWTListChild.getLocale()
Gets the locale of the component. |
Locale |
Component.getLocale()
Gets the locale of this component. |
Locale |
Component.AccessibleAWTComponent.getLocale()
Returns the locale of this object. |
Methods in java.awt with parameters of type Locale | |
---|---|
abstract String[] |
GraphicsEnvironment.getAvailableFontFamilyNames(Locale l)
Returns an array containing the names of all font families in this GraphicsEnvironment localized for the specified 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. |
static ComponentOrientation |
ComponentOrientation.getOrientation(Locale locale)
Returns the orientation that is appropriate for the given locale. |
void |
Component.setLocale(Locale l)
Sets the locale of this component. |
Uses of Locale in java.awt.im |
---|
Methods in java.awt.im that return Locale | |
---|---|
Locale |
InputContext.getLocale()
Returns the current locale of the current input method or keyboard layout. |
Methods in java.awt.im with parameters of type Locale | |
---|---|
boolean |
InputContext.selectInputMethod(Locale locale)
Attempts to select an input method or keyboard layout that supports the given locale, and returns a value indicating whether such an input method or keyboard layout has been successfully selected. |
Uses of Locale in java.awt.im.spi |
---|
Methods in java.awt.im.spi that return Locale | |
---|---|
Locale[] |
InputMethodDescriptor.getAvailableLocales()
Returns the locales supported by the corresponding input method. |
Locale |
InputMethod.getLocale()
Returns the current input locale. |
Methods in java.awt.im.spi with parameters of type Locale | |
---|---|
String |
InputMethodDescriptor.getInputMethodDisplayName(Locale inputLocale,
Locale displayLanguage)
Returns the user-visible name of the corresponding input method for the given input locale in the language in which the name will be displayed. |
Image |
InputMethodDescriptor.getInputMethodIcon(Locale inputLocale)
Returns an icon for the corresponding input method. |
boolean |
InputMethod.setLocale(Locale locale)
Attempts to set the input locale. |
Uses of Locale in java.beans.beancontext |
---|
Fields in java.beans.beancontext declared as Locale | |
---|---|
protected Locale |
BeanContextSupport.locale
The current locale of this BeanContext. |
Methods in java.beans.beancontext that return Locale | |
---|---|
Locale |
BeanContextSupport.getLocale()
Gets the locale for this BeanContext. |
Methods in java.beans.beancontext with parameters of type Locale | |
---|---|
void |
BeanContextSupport.setLocale(Locale newLocale)
Sets the locale of this BeanContext. |
Constructors in java.beans.beancontext with parameters of type Locale | |
---|---|
BeanContextServicesSupport(BeanContextServices peer,
Locale lcle)
Create an instance using the specified locale |
|
BeanContextServicesSupport(BeanContextServices peer,
Locale lcle,
boolean dtime)
Create an instance using the specified Locale and design mode. |
|
BeanContextServicesSupport(BeanContextServices peer,
Locale lcle,
boolean dTime,
boolean visible)
Construct a BeanContextServicesSupport instance |
|
BeanContextSupport(BeanContext peer,
Locale lcle)
Create an instance using the specified locale |
|
BeanContextSupport(BeanContext peer,
Locale lcle,
boolean dtime)
Create an instance using the specified Locale and design mode. |
|
BeanContextSupport(BeanContext peer,
Locale lcle,
boolean dTime,
boolean visible)
Construct a BeanContextSupport instance |
Uses of Locale in java.io |
---|
Methods in java.io with parameters of type Locale | |
---|---|
PrintWriter |
PrintWriter.format(Locale l,
String format,
Object... args)
Writes a formatted string to this writer using the specified format string and arguments. |
PrintStream |
PrintStream.format(Locale l,
String format,
Object... args)
Writes a formatted string to this output stream using the specified format string and arguments. |
PrintWriter |
PrintWriter.printf(Locale l,
String format,
Object... args)
A convenience method to write a formatted string to this writer using the specified format string and arguments. |
PrintStream |
PrintStream.printf(Locale l,
String format,
Object... args)
A convenience method to write a formatted string to this output stream using the specified format string and arguments. |
Uses of Locale in java.lang |
---|
Methods in java.lang with parameters of type Locale | |
---|---|
static String |
String.format(Locale l,
String format,
Object... args)
Returns a formatted string using the specified locale, format string, and arguments. |
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.nio.charset |
---|
Methods in java.nio.charset with parameters of type Locale | |
---|---|
String |
Charset.displayName(Locale locale)
Returns this charset's human-readable name for the given locale. |
Uses of Locale in java.text |
---|
Methods in java.text that return Locale | |
---|---|
static Locale[] |
NumberFormat.getAvailableLocales()
Returns an array of all locales for which the get*Instance methods of this class can return
localized instances. |
static Locale[] |
DecimalFormatSymbols.getAvailableLocales()
Returns an array of all locales for which the getInstance methods of this class can return
localized instances. |
static Locale[] |
DateFormatSymbols.getAvailableLocales()
Returns an array of all locales for which the getInstance methods of this class can return
localized instances. |
static Locale[] |
DateFormat.getAvailableLocales()
Returns an array of all locales for which the get*Instance methods of this class can return
localized instances. |
static Locale[] |
Collator.getAvailableLocales()
Returns an array of all locales for which the getInstance methods of this class can return
localized instances. |
static Locale[] |
BreakIterator.getAvailableLocales()
Returns an array of all locales for which the get*Instance methods of this class can return
localized instances. |
Locale |
MessageFormat.getLocale()
Gets the locale that's used when creating or comparing subformats. |
Methods in java.text with parameters of type Locale | |
---|---|
static BreakIterator |
BreakIterator.getCharacterInstance(Locale locale)
Returns a new BreakIterator instance
for character breaks
for the given locale. |
static NumberFormat |
NumberFormat.getCurrencyInstance(Locale inLocale)
Returns a currency format for the specified locale. |
static DateFormat |
DateFormat.getDateInstance(int style,
Locale aLocale)
Gets the date formatter with the given formatting style for the given locale. |
static DateFormat |
DateFormat.getDateTimeInstance(int dateStyle,
int timeStyle,
Locale aLocale)
Gets the date/time formatter with the given formatting styles for the given locale. |
static NumberFormat |
NumberFormat.getInstance(Locale inLocale)
Returns a general-purpose number format for the specified locale. |
static DecimalFormatSymbols |
DecimalFormatSymbols.getInstance(Locale locale)
Gets the DecimalFormatSymbols instance for the specified
locale. |
static DateFormatSymbols |
DateFormatSymbols.getInstance(Locale locale)
Gets the DateFormatSymbols instance for the specified
locale. |
static Collator |
Collator.getInstance(Locale desiredLocale)
Gets the Collator for the desired locale. |
static NumberFormat |
NumberFormat.getIntegerInstance(Locale inLocale)
Returns an integer number format for the specified locale. |
static BreakIterator |
BreakIterator.getLineInstance(Locale locale)
Returns a new BreakIterator instance
for line breaks
for the given locale. |
static NumberFormat |
NumberFormat.getNumberInstance(Locale inLocale)
Returns a general-purpose number format for the specified locale. |
static NumberFormat |
NumberFormat.getPercentInstance(Locale inLocale)
Returns a percentage format for the specified locale. |
static BreakIterator |
BreakIterator.getSentenceInstance(Locale locale)
Returns a new BreakIterator instance
for sentence breaks
for the given locale. |
static DateFormat |
DateFormat.getTimeInstance(int style,
Locale aLocale)
Gets the time formatter with the given formatting style for the given locale. |
static BreakIterator |
BreakIterator.getWordInstance(Locale locale)
Returns a new BreakIterator instance
for word breaks
for the given locale. |
void |
MessageFormat.setLocale(Locale locale)
Sets the locale to be used when creating or comparing subformats. |
Constructors in java.text with parameters of type Locale | |
---|---|
DateFormatSymbols(Locale locale)
Construct a DateFormatSymbols object by loading format data from resources for the given locale. |
|
DecimalFormatSymbols(Locale locale)
Create a DecimalFormatSymbols object for the given locale. |
|
MessageFormat(String pattern,
Locale locale)
Constructs a MessageFormat for the specified locale and pattern. |
|
SimpleDateFormat(String pattern,
Locale locale)
Constructs a SimpleDateFormat using the given pattern and
the default date format symbols for the given locale. |
Uses of Locale in java.text.spi |
---|
Methods in java.text.spi with parameters of type Locale | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
abstract BreakIterator |
BreakIteratorProvider.getCharacterInstance(Locale locale)
Returns a new BreakIterator instance
for
|
abstract NumberFormat |
NumberFormatProvider.getCurrencyInstance(Locale locale)
Returns a new NumberFormat instance which formats
monetary values for the specified locale. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
abstract DateFormat |
DateFormatProvider.getDateInstance(int style,
Locale locale)
Returns a new DateFormat instance which formats date
with the given formatting style for the specified locale. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
abstract DateFormat |
DateFormatProvider.getDateTimeInstance(int dateStyle,
int timeStyle,
Locale locale)
Returns a new DateFormat instance which formats date and time
with the given formatting style for the specified locale. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
abstract DecimalFormatSymbols |
DecimalFormatSymbolsProvider.getInstance(Locale locale)
Returns a new DecimalFormatSymbols instance for the
specified locale. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
abstract DateFormatSymbols |
DateFormatSymbolsProvider.getInstance(Locale locale)
Returns a new DateFormatSymbols instance for the
specified locale. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
abstract Collator |
CollatorProvider.getInstance(Locale locale)
Returns a new Collator instance for the specified locale. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
abstract NumberFormat |
NumberFormatProvider.getIntegerInstance(Locale locale)
Returns a new NumberFormat instance which formats
integer values for the specified locale. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
abstract BreakIterator |
BreakIteratorProvider.getLineInstance(Locale locale)
Returns a new BreakIterator instance
for
|
abstract NumberFormat |
NumberFormatProvider.getNumberInstance(Locale locale)
Returns a new general-purpose NumberFormat instance for
the specified locale. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
abstract NumberFormat |
NumberFormatProvider.getPercentInstance(Locale locale)
Returns a new NumberFormat instance which formats
percentage values for the specified locale. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
abstract BreakIterator |
BreakIteratorProvider.getSentenceInstance(Locale locale)
Returns a new BreakIterator instance
for
|
abstract DateFormat |
DateFormatProvider.getTimeInstance(int style,
Locale locale)
Returns a new DateFormat instance which formats time
with the given formatting style for the specified locale. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
abstract BreakIterator |
BreakIteratorProvider.getWordInstance(Locale locale)
Returns a new BreakIterator instance
for
Submit a bug or feature For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. Copyright 2010 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy. |