format.html

来自「基于mondrian 开源框架进行OLAP多维分析」· HTML 代码 · 共 1,069 行 · 第 1/4 页

HTML
1,069
字号
<TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../mondrian/util/Format.FormatLocale.html" title="class in mondrian.util">Format.FormatLocale</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/util/Format.html#getFormatLocale(java.util.Locale)">getFormatLocale</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Locale.html" title="class or interface in java.util">Locale</A>&nbsp;locale)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the <A HREF="../../mondrian/util/Format.FormatLocale.html" title="class in mondrian.util"><CODE>Format.FormatLocale</CODE></A> which precisely matches <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Locale.html" title="class or interface in java.util"><CODE>Locale</CODE></A>, if any, or null if there is none.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/util/Format.html#getFormatString()">getFormatString</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html" title="class or interface in java.util">List</A>&lt;<A HREF="../../mondrian/util/Format.Token.html" title="class in mondrian.util">Format.Token</A>&gt;</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/util/Format.html#getTokenList()">getTokenList</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../mondrian/util/Format.FormatLocale.html" title="class in mondrian.util">Format.FormatLocale</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/util/Format.html#registerFormatLocale(mondrian.util.Format.FormatLocale, java.util.Locale)">registerFormatLocale</A></B>(<A HREF="../../mondrian/util/Format.FormatLocale.html" title="class in mondrian.util">Format.FormatLocale</A>&nbsp;formatLocale,                     <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Locale.html" title="class or interface in java.util">Locale</A>&nbsp;locale)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Registers a <A HREF="../../mondrian/util/Format.FormatLocale.html" title="class in mondrian.util"><CODE>Format.FormatLocale</CODE></A> to a given <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Locale.html" title="class or interface in java.util"><CODE>Locale</CODE></A>.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Field Detail</B></FONT></TH></TR></TABLE><A NAME="CacheLimit"><!-- --></A><H3>CacheLimit</H3><PRE>public static final int <B>CacheLimit</B></PRE><DL><DD>Maximum number of entries in the format cache used by <A HREF="../../mondrian/util/Format.html#get(java.lang.String, java.util.Locale)"><CODE>get(String, java.util.Locale)</CODE></A>.<P><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#mondrian.util.Format.CacheLimit">Constant Field Values</A></DL></DL><HR><A NAME="digits"><!-- --></A><H3>digits</H3><PRE>static final char[] <B>digits</B></PRE><DL><DL></DL></DL><HR><A NAME="thousandSeparator_en"><!-- --></A><H3>thousandSeparator_en</H3><PRE>static final char <B>thousandSeparator_en</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#mondrian.util.Format.thousandSeparator_en">Constant Field Values</A></DL></DL><HR><A NAME="decimalPlaceholder_en"><!-- --></A><H3>decimalPlaceholder_en</H3><PRE>static final char <B>decimalPlaceholder_en</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#mondrian.util.Format.decimalPlaceholder_en">Constant Field Values</A></DL></DL><HR><A NAME="dateSeparator_en"><!-- --></A><H3>dateSeparator_en</H3><PRE>static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>dateSeparator_en</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#mondrian.util.Format.dateSeparator_en">Constant Field Values</A></DL></DL><HR><A NAME="timeSeparator_en"><!-- --></A><H3>timeSeparator_en</H3><PRE>static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>timeSeparator_en</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#mondrian.util.Format.timeSeparator_en">Constant Field Values</A></DL></DL><HR><A NAME="currencySymbol_en"><!-- --></A><H3>currencySymbol_en</H3><PRE>static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>currencySymbol_en</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#mondrian.util.Format.currencySymbol_en">Constant Field Values</A></DL></DL><HR><A NAME="currencyFormat_en"><!-- --></A><H3>currencyFormat_en</H3><PRE>static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>currencyFormat_en</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#mondrian.util.Format.currencyFormat_en">Constant Field Values</A></DL></DL><HR><A NAME="daysOfWeekShort_en"><!-- --></A><H3>daysOfWeekShort_en</H3><PRE>static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] <B>daysOfWeekShort_en</B></PRE><DL><DL></DL></DL><HR><A NAME="daysOfWeekLong_en"><!-- --></A><H3>daysOfWeekLong_en</H3><PRE>static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] <B>daysOfWeekLong_en</B></PRE><DL><DL></DL></DL><HR><A NAME="monthsShort_en"><!-- --></A><H3>monthsShort_en</H3><PRE>static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] <B>monthsShort_en</B></PRE><DL><DL></DL></DL><HR><A NAME="monthsLong_en"><!-- --></A><H3>monthsLong_en</H3><PRE>static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] <B>monthsLong_en</B></PRE><DL><DL></DL></DL><HR><A NAME="intlCurrencySymbol"><!-- --></A><H3>intlCurrencySymbol</H3><PRE>static final char <B>intlCurrencySymbol</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#mondrian.util.Format.intlCurrencySymbol">Constant Field Values</A></DL></DL><HR><A NAME="locale_US"><!-- --></A><H3>locale_US</H3><PRE>static final <A HREF="../../mondrian/util/Format.FormatLocale.html" title="class in mondrian.util">Format.FormatLocale</A> <B>locale_US</B></PRE><DL><DD>Locale for US English, also the default for English and for all locales.<P><DL></DL></DL><HR><A NAME="tokens"><!-- --></A><H3>tokens</H3><PRE>static final <A HREF="../../mondrian/util/Format.Token.html" title="class in mondrian.util">Format.Token</A>[] <B>tokens</B></PRE><DL><DL></DL></DL><HR><A NAME="NOT_IN_A_NUMBER"><!-- --></A><H3>NOT_IN_A_NUMBER</H3><PRE>static final int <B>NOT_IN_A_NUMBER</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#mondrian.util.Format.NOT_IN_A_NUMBER">Constant Field Values</A></DL></DL><HR><A NAME="LEFT_OF_POINT"><!-- --></A><H3>LEFT_OF_POINT</H3><PRE>static final int <B>LEFT_OF_POINT</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#mondrian.util.Format.LEFT_OF_POINT">Constant Field Values</A></DL></DL><HR><A NAME="RIGHT_OF_POINT"><!-- --></A><H3>RIGHT_OF_POINT</H3><PRE>static final int <B>RIGHT_OF_POINT</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#mondrian.util.Format.RIGHT_OF_POINT">Constant Field Values</A></DL></DL><HR><A NAME="RIGHT_OF_EXP"><!-- --></A><H3>RIGHT_OF_EXP</H3><PRE>static final int <B>RIGHT_OF_EXP</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#mondrian.util.Format.RIGHT_OF_EXP">Constant Field Values</A></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="Format(java.lang.String, java.util.Locale)"><!-- --></A><H3>Format</H3><PRE>public <B>Format</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;formatString,              <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Locale.html" title="class or interface in java.util">Locale</A>&nbsp;locale)</PRE><DL>

⌨️ 快捷键说明

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