Use 
PREV   NEXT      All Classes   All Packages
FlexDoc/Javadoc 2.0
Demo Java Doc

Uses of Class
java.util.Locale
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.
Uses of Locale in java.io
Methods in java.io with parameters of type Locale
PrintStream.format(Locale l, String format, Object... args)
Writes a formatted string to this output stream using the specified format string and arguments.
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.format(Locale l, String format, Object... args)
Writes a formatted string to this writer using the specified format string and arguments.
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.
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.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.
Uses of Locale in java.util
Fields in java.util declared as Locale
static final Locale
Locale.CANADA
Useful constant for country.
static final Locale
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
Useful constant for language.
static final Locale
Locale.TAIWAN
Useful constant for country.
static final Locale
Useful constant for language.
static final Locale
Locale.UK
Useful constant for country.
static final Locale
Locale.US
Useful constant for country.
Methods in java.util that return Locale
static Locale[]
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[]
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
Locale.lookup(List<Locale.LanguageRange> priorityList, Collection<Locale> locales)
Returns a Locale instance for the best-matching language tag using the lookup mechanism defined in RFC 4647.
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.
ResourceBundle.Control.getFallbackLocale(String baseName, Locale locale)
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.
Methods in java.util that return types with arguments of type Locale
static List<Locale>
Locale.filter(List<Locale.LanguageRange> priorityList, Collection<Locale> locales)
Returns a list of matching Locale instances using the filtering mechanism defined in RFC 4647.
static List<Locale>
Returns a list of matching Locale instances using the filtering mechanism defined in RFC 4647.
ResourceBundle.Control.getCandidateLocales(String baseName, Locale locale)
Returns a List of Locales as candidate locales for baseName and locale.
Methods in java.util with parameters of type 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
Calendar.getInstance(TimeZone zone, Locale aLocale)
Gets a calendar with the specified time zone and locale.
Calendar.Builder.setLocale(Locale 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.
Currency.getSymbol(Locale locale)
Gets the symbol of this currency for the specified locale.
Formatter.format(Locale l, String format, Object... args)
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
Locale.setDefault(Locale.Category category, Locale newLocale)
Sets the default locale for the specified Category for this instance of the Java Virtual Machine.
Locale.Builder.setLocale(Locale locale)
Resets the Builder to match the provided locale.
static final ResourceBundle
ResourceBundle.getBundle(String baseName, Locale locale)
Gets a resource bundle using the specified base name and locale, and the caller module.
ResourceBundle.getBundle(String baseName, Locale locale, ClassLoader loader)
Gets a resource bundle using the specified base name, locale, and class loader.
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.
ResourceBundle.getBundle(String baseName, Locale targetLocale, Module module)
Gets a resource bundle using the specified base name and locale on behalf of the specified module.
static final ResourceBundle
ResourceBundle.getBundle(String baseName, Locale targetLocale, ResourceBundle.Control control)
Returns a resource bundle using the specified base name, target locale and control, and the caller's class loader.
ResourceBundle.Control.getCandidateLocales(String baseName, Locale locale)
Returns a List of Locales as candidate locales for baseName and locale.
ResourceBundle.Control.getFallbackLocale(String baseName, Locale locale)
Returns a Locale to be used as a fallback locale for further resource bundle searches by the ResourceBundle.getBundle factory method.
long
ResourceBundle.Control.getTimeToLive(String baseName, Locale locale)
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.
ResourceBundle.Control.toBundleName(String baseName, Locale locale)
Converts the given baseName and locale to the bundle name.
Scanner.useLocale(Locale locale)
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.
Method parameters in java.util with type arguments of type Locale
static List<Locale>
Locale.filter(List<Locale.LanguageRange> priorityList, Collection<Locale> locales)
Returns a list of matching Locale instances using the filtering mechanism defined in RFC 4647.
static List<Locale>
Returns a list of matching Locale instances using the filtering mechanism defined in RFC 4647.
static Locale
Locale.lookup(List<Locale.LanguageRange> priorityList, Collection<Locale> locales)
Returns a Locale instance for the best-matching language tag using the lookup mechanism defined in RFC 4647.
Constructors in java.util with parameters of type Locale
protected
Calendar(TimeZone zone, Locale aLocale)
Constructs a calendar with the specified time zone and locale.
public
Constructs a new formatter with the specified destination and locale.
public
Formatter(File file, Charset charset, Locale l)
Constructs a new formatter with the specified file, charset, and locale.
public
Formatter(File file, String csn, Locale l)
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
Formatter(String fileName, Charset charset, Locale l)
Constructs a new formatter with the specified file name, charset, and locale.
public
Formatter(String fileName, String csn, Locale l)
Constructs a new formatter with the specified file name, charset, and locale.
public
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.
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
Doclet.init(Locale locale, Reporter reporter)
Initializes this doclet with the given locale and error reporter.
void
StandardDoclet.init(Locale locale, Reporter reporter)
Initializes this doclet with the given locale and error reporter.

 Use 
PREV   NEXT      All Classes   All Packages
FlexDoc/Javadoc 2.0
Demo Java Doc

Java API documentation generated with FlexDoc/Javadoc 2.0 using JavadocClassic 3.0 template set.
FlexDoc/Javadoc is a template-driven programming tool for rapid development of any Javadoc-based Java API documentation generators (i.e. doclets). If you need to customize your Javadoc without writing a full-blown doclet from scratch, FlexDoc/Javadoc may be the only tool able to help you! Find out more at www.flexdoc.xyz