|
FlexDoc/Javadoc 2.0 Demo Java Doc |
Packages that use Locale |
|
Provides for system input and output through data streams,
serialization and the file system.
|
|
Provides classes that are fundamental to the design of the Java
programming language.
|
|
Contains the collections framework, some internationalization support classes,
a service loader, properties, random number generation, string parsing
and scanning classes, base64 encoding and decoding, a bit array, and
several miscellaneous utility classes.
|
|
The Doclet API provides an environment which, in conjunction with
the Language Model API and Compiler Tree API, allows clients
to inspect the source-level structures of programs and
libraries, including API comments embedded in the source.
|
Writes a formatted string to this output stream using the specified
format string and arguments.
|
|
A convenience method to write a formatted string to this output stream
using the specified format string and arguments.
|
|
Writes a formatted string to this writer using the specified format
string and arguments.
|
|
A convenience method to write a formatted string to this writer using
the specified format string and arguments.
|
static String |
Returns a formatted string using the specified locale, format string,
and arguments.
|
String.toLowerCase(Locale locale)
Converts all of the characters in this String to lower
case using the rules of the given Locale.
|
|
String.toUpperCase(Locale locale)
Converts all of the characters in this String to upper
case using the rules of the given Locale.
|
static final Locale |
Locale.CANADA
Useful constant for country.
|
static final Locale |
Locale.CANADA_FRENCH
Useful constant for country.
|
static final Locale |
Locale.CHINA
Useful constant for country.
|
static final Locale |
Locale.CHINESE
Useful constant for language.
|
static final Locale |
Locale.ENGLISH
Useful constant for language.
|
static final Locale |
Locale.FRANCE
Useful constant for country.
|
static final Locale |
Locale.FRENCH
Useful constant for language.
|
static final Locale |
Locale.GERMAN
Useful constant for language.
|
static final Locale |
Locale.GERMANY
Useful constant for country.
|
static final Locale |
Locale.ITALIAN
Useful constant for language.
|
static final Locale |
Locale.ITALY
Useful constant for country.
|
static final Locale |
Locale.JAPAN
Useful constant for country.
|
static final Locale |
Locale.JAPANESE
Useful constant for language.
|
static final Locale |
Locale.KOREA
Useful constant for country.
|
static final Locale |
Locale.KOREAN
Useful constant for language.
|
static final Locale |
Locale.PRC
Useful constant for country.
|
static final Locale |
Locale.ROOT
Useful constant for the root locale.
|
static final Locale |
Locale.SIMPLIFIED_CHINESE
Useful constant for language.
|
static final Locale |
Locale.TAIWAN
Useful constant for country.
|
static final Locale |
Locale.TRADITIONAL_CHINESE
Useful constant for language.
|
static final Locale |
Locale.UK
Useful constant for country.
|
static final Locale |
Locale.US
Useful constant for country.
|
static Locale[] |
Calendar.getAvailableLocales()
Returns an array of all locales for which the getInstance
methods of this class can return localized instances.
|
Formatter.locale()
Returns the locale set by the construction of this formatter.
|
|
static Locale |
Locale.forLanguageTag(String languageTag)
Returns a locale for the specified IETF BCP 47 language tag string.
|
static Locale[] |
Locale.getAvailableLocales()
Returns an array of all installed locales.
|
static Locale |
Locale.getDefault()
Gets the current value of the default locale for this instance
of the Java Virtual Machine.
|
static Locale |
Locale.getDefault(Locale.Category category)
Gets the current value of the default locale for the specified Category
for this instance of the Java Virtual Machine.
|
static Locale |
Returns a Locale instance for the best-matching language
tag using the lookup mechanism defined in RFC 4647.
|
Locale.stripExtensions()
Returns a copy of this Locale with no
extensions.
|
|
Locale.Builder.build()
Returns an instance of Locale created from the fields set
on this builder.
|
|
ResourceBundle.getLocale()
Returns the locale of this resource bundle.
|
|
Returns a Locale to be used as a fallback locale for
further resource bundle searches by the
ResourceBundle.getBundle factory method.
|
|
Scanner.locale()
Returns this scanner's locale.
|
Returns a list of matching Locale instances using the filtering
mechanism defined in RFC 4647.
|
|
Locale.filter(List<Locale.LanguageRange> priorityList, Collection<Locale> locales, Locale.FilteringMode mode)
Returns a list of matching Locale instances using the filtering
mechanism defined in RFC 4647.
|
|
Returns a List of Locales as candidate
locales for baseName and locale.
|
Calendar.getDisplayName(int field, int style, Locale locale)
Returns the string representation of the calendar
field value in the given style and
locale.
|
|
Calendar.getDisplayNames(int field, int style, Locale locale)
Returns a Map containing all names of the calendar
field in the given style and
locale and their corresponding field values.
|
|
static Calendar |
Calendar.getInstance(Locale aLocale)
Gets a calendar using the default time zone and specified locale.
|
static Calendar |
Gets a calendar with the specified time zone and locale.
|
Sets the locale parameter to the given locale.
|
|
Currency.getDisplayName(Locale locale)
Gets the name that is suitable for displaying this currency for
the specified locale.
|
|
static Currency |
Currency.getInstance(Locale locale)
Returns the Currency instance for the country of the
given locale.
|
Gets the symbol of this currency for the specified locale.
|
|
Writes a formatted string to this object's destination using the
specified locale, format string, and arguments.
|
|
Locale.getDisplayCountry(Locale inLocale)
Returns a name for the locale's country that is appropriate for display to the
user.
|
|
Locale.getDisplayLanguage(Locale inLocale)
Returns a name for the locale's language that is appropriate for display to the
user.
|
|
Locale.getDisplayName(Locale inLocale)
Returns a name for the locale that is appropriate for display
to the user.
|
|
Locale.getDisplayScript(Locale inLocale)
Returns a name for the locale's script that is appropriate
for display to the user.
|
|
Locale.getDisplayVariant(Locale inLocale)
Returns a name for the locale's variant code that is appropriate for display to the
user.
|
|
static void |
Locale.setDefault(Locale newLocale)
Sets the default locale for this instance of the Java Virtual Machine.
|
static void |
Sets the default locale for the specified Category for this instance
of the Java Virtual Machine.
|
Resets the Builder to match the provided
locale.
|
|
static final ResourceBundle |
Gets a resource bundle using the specified base name and locale,
and the caller module.
|
static ResourceBundle |
Gets a resource bundle using the specified base name, locale, and class
loader.
|
static ResourceBundle |
ResourceBundle.getBundle(String baseName, Locale targetLocale, ClassLoader loader, ResourceBundle.Control control)
Returns a resource bundle using the specified base name, target
locale, class loader and control.
|
static ResourceBundle |
Gets a resource bundle using the specified base name and locale
on behalf of the specified module.
|
static final ResourceBundle |
Returns a resource bundle using the specified base name, target
locale and control, and the caller's class loader.
|
Returns a List of Locales as candidate
locales for baseName and locale.
|
|
Returns a Locale to be used as a fallback locale for
further resource bundle searches by the
ResourceBundle.getBundle factory method.
|
|
long |
Returns the time-to-live (TTL) value for resource bundles that
are loaded under this
ResourceBundle.Control.
|
boolean |
ResourceBundle.Control.needsReload(String baseName, Locale locale, String format, ClassLoader loader, ResourceBundle bundle, long loadTime)
Determines if the expired bundle in the cache needs
to be reloaded based on the loading time given by
loadTime or some other criteria.
|
ResourceBundle.Control.newBundle(String baseName, Locale locale, String format, ClassLoader loader, boolean reload)
Instantiates a resource bundle for the given bundle name of the
given format and locale, using the given class loader if
necessary.
|
|
Converts the given baseName and locale
to the bundle name.
|
|
Sets this scanner's locale to the specified locale.
|
|
TimeZone.getDisplayName(boolean daylight, int style, Locale locale)
Returns a name in the specified style of this TimeZone
suitable for presentation to the user in the specified
locale.
|
|
final String |
TimeZone.getDisplayName(Locale locale)
Returns a long standard time name of this TimeZone suitable for
presentation to the user in the specified locale.
|
Returns a list of matching Locale instances using the filtering
mechanism defined in RFC 4647.
|
|
Locale.filter(List<Locale.LanguageRange> priorityList, Collection<Locale> locales, Locale.FilteringMode mode)
Returns a list of matching Locale instances using the filtering
mechanism defined in RFC 4647.
|
|
static Locale |
Returns a Locale instance for the best-matching language
tag using the lookup mechanism defined in RFC 4647.
|
protected |
Constructs a calendar with the specified time zone and locale.
|
public |
Constructs a new formatter with the specified destination and locale.
|
public |
Constructs a new formatter with the specified file, charset, and
locale.
|
public |
Constructs a new formatter with the specified file, charset, and
locale.
|
public |
Constructs a new formatter with the specified locale.
|
public |
Constructs a new formatter with the specified output stream, charset,
and locale.
|
public |
Constructs a new formatter with the specified output stream, charset,
and locale.
|
public |
Constructs a new formatter with the specified file name, charset, and
locale.
|
public |
Constructs a new formatter with the specified file name, charset, and
locale.
|
public |
GregorianCalendar(Locale aLocale)
Constructs a GregorianCalendar based on the current time
in the default time zone with the given locale.
|
public |
Constructs a GregorianCalendar based on the current time
in the given time zone with the given locale.
|
Uses of Locale in jdk.javadoc.doclet |
Methods in jdk.javadoc.doclet that return Locale |
|
StandardDoclet.getLocale()
Returns the locale for this doclet
|
Methods in jdk.javadoc.doclet with parameters of type Locale |
|
void |
Initializes this doclet with the given locale and error reporter.
|
void |
Initializes this doclet with the given locale and error reporter.
|
|
FlexDoc/Javadoc 2.0 Demo Java Doc |