⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 locale.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/lang/String.html">String</A></CODE></FONT></TD><TD><CODE><B>String.</B><B><A HREF="../../../java/lang/String.html#toLowerCase(java.util.Locale)">toLowerCase</A></B>(<A HREF="../../../java/util/Locale.html">Locale</A>&nbsp;locale)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts all of the characters in this <code>String</code> to lower case using the rules of the given <code>Locale</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/lang/String.html">String</A></CODE></FONT></TD><TD><CODE><B>String.</B><B><A HREF="../../../java/lang/String.html#toUpperCase(java.util.Locale)">toUpperCase</A></B>(<A HREF="../../../java/util/Locale.html">Locale</A>&nbsp;locale)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts all of the characters in this <code>String</code> to upper case using the rules of the given locale.</TD></TR></TABLE>&nbsp;<P><A NAME="java.text"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../java/util/Locale.html">Locale</A> in <A HREF="../../../java/text/package-summary.html">java.text</A></FONT></TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../java/text/package-summary.html">java.text</A> that return <A HREF="../../../java/util/Locale.html">Locale</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../java/util/Locale.html">Locale</A>[]</CODE></FONT></TD><TD><CODE><B>NumberFormat.</B><B><A HREF="../../../java/text/NumberFormat.html#getAvailableLocales()">getAvailableLocales</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the set of Locales for which NumberFormats are installed</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../java/util/Locale.html">Locale</A>[]</CODE></FONT></TD><TD><CODE><B>Collator.</B><B><A HREF="../../../java/text/Collator.html#getAvailableLocales()">getAvailableLocales</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the set of Locales for which Collators are installed.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../java/util/Locale.html">Locale</A>[]</CODE></FONT></TD><TD><CODE><B>DateFormat.</B><B><A HREF="../../../java/text/DateFormat.html#getAvailableLocales()">getAvailableLocales</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the set of locales for which DateFormats are installed.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../java/util/Locale.html">Locale</A>[]</CODE></FONT></TD><TD><CODE><B>BreakIterator.</B><B><A HREF="../../../java/text/BreakIterator.html#getAvailableLocales()">getAvailableLocales</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the set of Locales for which BreakIterators are installed</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/util/Locale.html">Locale</A></CODE></FONT></TD><TD><CODE><B>MessageFormat.</B><B><A HREF="../../../java/text/MessageFormat.html#getLocale()">getLocale</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the locale.</TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../java/text/package-summary.html">java.text</A> with parameters of type <A HREF="../../../java/util/Locale.html">Locale</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../java/text/NumberFormat.html">NumberFormat</A></CODE></FONT></TD><TD><CODE><B>NumberFormat.</B><B><A HREF="../../../java/text/NumberFormat.html#getInstance(java.util.Locale)">getInstance</A></B>(<A HREF="../../../java/util/Locale.html">Locale</A>&nbsp;inLocale)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the default number format for the specified locale.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../java/text/NumberFormat.html">NumberFormat</A></CODE></FONT></TD><TD><CODE><B>NumberFormat.</B><B><A HREF="../../../java/text/NumberFormat.html#getNumberInstance(java.util.Locale)">getNumberInstance</A></B>(<A HREF="../../../java/util/Locale.html">Locale</A>&nbsp;inLocale)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a general-purpose number format for the specified locale.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../java/text/NumberFormat.html">NumberFormat</A></CODE></FONT></TD><TD><CODE><B>NumberFormat.</B><B><A HREF="../../../java/text/NumberFormat.html#getCurrencyInstance(java.util.Locale)">getCurrencyInstance</A></B>(<A HREF="../../../java/util/Locale.html">Locale</A>&nbsp;inLocale)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a currency format for the specified locale.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../java/text/NumberFormat.html">NumberFormat</A></CODE></FONT></TD><TD><CODE><B>NumberFormat.</B><B><A HREF="../../../java/text/NumberFormat.html#getPercentInstance(java.util.Locale)">getPercentInstance</A></B>(<A HREF="../../../java/util/Locale.html">Locale</A>&nbsp;inLocale)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a percentage format for the specified locale.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../java/text/Collator.html">Collator</A></CODE></FONT></TD><TD><CODE><B>Collator.</B><B><A HREF="../../../java/text/Collator.html#getInstance(java.util.Locale)">getInstance</A></B>(<A HREF="../../../java/util/Locale.html">Locale</A>&nbsp;desiredLocale)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the Collator for the desired locale.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../java/text/DateFormat.html">DateFormat</A></CODE></FONT></TD><TD><CODE><B>DateFormat.</B><B><A HREF="../../../java/text/DateFormat.html#getTimeInstance(int, java.util.Locale)">getTimeInstance</A></B>(int&nbsp;style,                <A HREF="../../../java/util/Locale.html">Locale</A>&nbsp;aLocale)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the time formatter with the given formatting style for the given locale.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../java/text/DateFormat.html">DateFormat</A></CODE></FONT></TD><TD><CODE><B>DateFormat.</B><B><A HREF="../../../java/text/DateFormat.html#getDateInstance(int, java.util.Locale)">getDateInstance</A></B>(int&nbsp;style,                <A HREF="../../../java/util/Locale.html">Locale</A>&nbsp;aLocale)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the date formatter with the given formatting style for the given locale.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../java/text/DateFormat.html">DateFormat</A></CODE></FONT></TD><TD><CODE><B>DateFormat.</B><B><A HREF="../../../java/text/DateFormat.html#getDateTimeInstance(int, int, java.util.Locale)">getDateTimeInstance</A></B>(int&nbsp;dateStyle,                    int&nbsp;timeStyle,                    <A HREF="../../../java/util/Locale.html">Locale</A>&nbsp;aLocale)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the date/time formatter with the given formatting styles for the given locale.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../java/text/BreakIterator.html">BreakIterator</A></CODE></FONT></TD><TD><CODE><B>BreakIterator.</B><B><A HREF="../../../java/text/BreakIterator.html#getWordInstance(java.util.Locale)">getWordInstance</A></B>(<A HREF="../../../java/util/Locale.html">Locale</A>&nbsp;where)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create BreakIterator for word-breaks using specified locale.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../java/text/BreakIterator.html">BreakIterator</A></CODE></FONT></TD><TD><CODE><B>BreakIterator.</B><B><A HREF="../../../java/text/BreakIterator.html#getLineInstance(java.util.Locale)">getLineInstance</A></B>(<A HREF="../../../java/util/Locale.html">Locale</A>&nbsp;where)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create BreakIterator for line-breaks using specified locale.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../java/text/BreakIterator.html">BreakIterator</A></CODE></FONT></TD><TD><CODE><B>BreakIterator.</B><B><A HREF="../../../java/text/BreakIterator.html#getCharacterInstance(java.util.Locale)">getCharacterInstance</A></B>(<A HREF="../../../java/util/Locale.html">Locale</A>&nbsp;where)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create BreakIterator for character-breaks using specified locale Returns an instance of a BreakIterator implementing character breaks.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../java/text/BreakIterator.html">BreakIterator</A></CODE></FONT></TD><TD><CODE><B>BreakIterator.</B><B><A HREF="../../../java/text/BreakIterator.html#getSentenceInstance(java.util.Locale)">getSentenceInstance</A></B>(<A HREF="../../../java/util/Locale.html">Locale</A>&nbsp;where)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create BreakIterator for sentence-breaks using specified locale Returns an instance of a BreakIterator implementing sentence breaks.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B>MessageFormat.</B><B><A HREF="../../../java/text/MessageFormat.html#setLocale(java.util.Locale)">setLocale</A></B>(<A HREF="../../../java/util/Locale.html">Locale</A>&nbsp;theLocale)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs with the specified pattern and formats for the arguments in that pattern.</TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Constructors in <A HREF="../../../java/text/package-summary.html">java.text</A> with parameters of type <A HREF="../../../java/util/Locale.html">Locale</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/text/SimpleDateFormat.html#SimpleDateFormat(java.lang.String, java.util.Locale)">SimpleDateFormat</A></B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;pattern,                 <A HREF="../../../java/util/Locale.html">Locale</A>&nbsp;loc)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a SimpleDateFormat using the given pattern and locale.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/text/DateFormatSymbols.html#DateFormatSymbols(java.util.Locale)">DateFormatSymbols</A></B>(<A HREF="../../../java/util/Locale.html">Locale</A>&nbsp;locale)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a DateFormatSymbols object by loading format data from resources for the given locale.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/text/DecimalFormatSymbols.html#DecimalFormatSymbols(java.util.Locale)">DecimalFormatSymbols</A></B>(<A HREF="../../../java/util/Locale.html">Locale</A>&nbsp;locale)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a DecimalFormatSymbols object for the given locale.</TD></TR></TABLE>&nbsp;<P><A NAME="java.util"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../java/util/Locale.html">Locale</A> in <A HREF="../../../java/util/package-summary.html">java.util</A></FONT></TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Fields in <A HREF="../../../java/util/package-summary.html">java.util</A> declared as <A HREF="../../../java/util/Locale.html">Locale</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -