Package | Description |
---|---|
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.time |
The main API for dates, times, instants, and durations.
|
java.time.chrono |
Generic API for calendar systems other than the default ISO.
|
java.time.format |
Provides classes to print and parse dates and times.
|
java.time.temporal |
Access to date and time using fields and units, and date time adjusters.
|
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.
|
Modifier and Type | Method and Description |
---|---|
Locale |
Applet.getLocale()
Gets the locale of the applet.
|
Modifier and Type | Method and Description |
---|---|
Locale |
Window.getLocale()
Gets the
Locale object that is associated
with this window, if the locale has been set. |
Locale |
Component.getLocale()
Gets the locale of this component.
|
Locale |
Component.AccessibleAWTComponent.getLocale()
Returns the locale of this object.
|
Locale |
List.AccessibleAWTList.AccessibleAWTListChild.getLocale()
Gets the locale of the component.
|
Locale |
MenuComponent.AccessibleAWTMenuComponent.getLocale()
Returns the locale of this object.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
Locale |
InputContext.getLocale()
Returns the current locale of the current input method or keyboard
layout.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
Locale[] |
InputMethodDescriptor.getAvailableLocales()
Returns the locales supported by the corresponding input method.
|
Locale |
InputMethod.getLocale()
Returns the current input locale.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Field and Description |
---|---|
protected Locale |
BeanContextSupport.locale
The current locale of this BeanContext.
|
Modifier and Type | Method and Description |
---|---|
Locale |
BeanContextSupport.getLocale()
Gets the locale for this BeanContext.
|
Modifier and Type | Method and Description |
---|---|
void |
BeanContextSupport.setLocale(Locale newLocale)
Sets the locale of this BeanContext.
|
Constructor and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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.format(Locale l,
String format,
Object... args)
Writes 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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
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 . |
Modifier and Type | Method and Description |
---|---|
String |
Charset.displayName(Locale locale)
Returns this charset's human-readable name for the given locale.
|
Modifier and Type | Method and Description |
---|---|
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[] |
DateFormatSymbols.getAvailableLocales()
Returns an array of all locales for which the
getInstance 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[] |
BreakIterator.getAvailableLocales()
Returns an array of all locales for which the
get*Instance methods of this class can return
localized instances. |
static Locale[] |
NumberFormat.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.
|
Modifier and Type | Method and Description |
---|---|
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 Collator |
Collator.getInstance(Locale desiredLocale)
Gets the Collator for the desired locale.
|
static DateFormatSymbols |
DateFormatSymbols.getInstance(Locale locale)
Gets the
DateFormatSymbols instance for the specified
locale. |
static DecimalFormatSymbols |
DecimalFormatSymbols.getInstance(Locale locale)
Gets the
DecimalFormatSymbols instance for the specified
locale. |
static NumberFormat |
NumberFormat.getInstance(Locale inLocale)
Returns a general-purpose number format for the specified 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.
|
Constructor and Description |
---|
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. |
Modifier and Type | Method and Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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
Uses of Locale in java.time
Uses of Locale in java.time.chrono
Uses of Locale in java.time.format
Uses of Locale in java.time.temporal
Uses of Locale in java.util
Uses of Locale in java.util.spi
Uses of Locale in javax.accessibility
Uses of Locale in javax.annotation.processing
Uses of Locale in javax.imageio
Uses of Locale in javax.imageio.metadata
Uses of Locale in javax.imageio.plugins.bmp
Uses of Locale in javax.imageio.plugins.jpeg
Uses of Locale in javax.imageio.spi
Uses of Locale in javax.print.attribute
Uses of Locale in javax.print.attribute.standard
Uses of Locale in javax.security.auth.callback
Uses of Locale in javax.swing
Uses of Locale in javax.swing.table
Uses of Locale in javax.tools
Uses of Locale in javax.xml.datatype
Uses of Locale in javax.xml.soap
Uses of Locale in org.xml.sax
Uses of Locale in org.xml.sax.helpers
Submit a bug or feature |