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

📄 messageresources.html

📁 sturts_menu 的源代码 主要提过了常用的menu菜单样式
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<DL>
<DD>Returns a text message after parametric replacement of the specified parameter placeholders.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - The message key to look up<DD><CODE>arg0</CODE> - The replacement for placeholder {0} in the message<DD><CODE>arg1</CODE> - The replacement for placeholder {1} in the message<DD><CODE>arg2</CODE> - The replacement for placeholder {2} in the message<DD><CODE>arg3</CODE> - The replacement for placeholder {3} in the message</DL>
</DD>
</DL>
<HR>

<A NAME="getMessage(java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object)"><!-- --></A><H3>
getMessage</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getMessage</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;key,
                         <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;arg0,
                         <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;arg1,
                         <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;arg2,
                         <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;arg3,
                         <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;arg4)</PRE>
<DL>
<DD>Returns a text message after parametric replacement of the specified parameter placeholders.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - The message key to look up<DD><CODE>arg0</CODE> - The replacement for placeholder {0} in the message<DD><CODE>arg1</CODE> - The replacement for placeholder {1} in the message<DD><CODE>arg2</CODE> - The replacement for placeholder {2} in the message<DD><CODE>arg3</CODE> - The replacement for placeholder {3} in the message<DD><CODE>arg4</CODE> - The replacement for placeholder {4} in the message</DL>
</DD>
</DL>
<HR>

<A NAME="getMessage(java.util.Locale, java.lang.String)"><!-- --></A><H3>
getMessage</H3>
<PRE>
public abstract <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getMessage</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/util/Locale.html" title="class or interface in java.util">Locale</A>&nbsp;locale,
                                  <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;key)</PRE>
<DL>
<DD>Returns a text message for the specified key, for the default Locale. A null string result will be returned by this method if no relevant message resource is found for this key or Locale, if the <code>returnNull</code> property is set.  Otherwise, an appropriate error message will be returned. <p> This method must be implemented by a concrete subclass.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>locale</CODE> - The requested message Locale, or <code>null</code>  for the system default Locale<DD><CODE>key</CODE> - The message key to look up</DL>
</DD>
</DL>
<HR>

<A NAME="getMessage(java.util.Locale, java.lang.String, java.lang.Object[])"><!-- --></A><H3>
getMessage</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getMessage</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/util/Locale.html" title="class or interface in java.util">Locale</A>&nbsp;locale,
                         <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;key,
                         <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[]&nbsp;args)</PRE>
<DL>
<DD>Returns a text message after parametric replacement of the specified parameter placeholders.  A null string result will be returned by this method if no resource bundle has been configured.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>locale</CODE> - The requested message Locale, or <code>null</code>  for the system default Locale<DD><CODE>key</CODE> - The message key to look up<DD><CODE>args</CODE> - An array of replacement parameters for placeholders</DL>
</DD>
</DL>
<HR>

<A NAME="getMessage(java.util.Locale, java.lang.String, java.lang.Object)"><!-- --></A><H3>
getMessage</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getMessage</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/util/Locale.html" title="class or interface in java.util">Locale</A>&nbsp;locale,
                         <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;key,
                         <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;arg0)</PRE>
<DL>
<DD>Returns a text message after parametric replacement of the specified parameter placeholders.  A null string result will never be returned by this method.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>locale</CODE> - The requested message Locale, or <code>null</code>  for the system default Locale<DD><CODE>key</CODE> - The message key to look up<DD><CODE>arg0</CODE> - The replacement for placeholder {0} in the message</DL>
</DD>
</DL>
<HR>

<A NAME="getMessage(java.util.Locale, java.lang.String, java.lang.Object, java.lang.Object)"><!-- --></A><H3>
getMessage</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getMessage</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/util/Locale.html" title="class or interface in java.util">Locale</A>&nbsp;locale,
                         <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;key,
                         <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;arg0,
                         <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;arg1)</PRE>
<DL>
<DD>Returns a text message after parametric replacement of the specified parameter placeholders.  A null string result will never be returned by this method.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>locale</CODE> - The requested message Locale, or <code>null</code>  for the system default Locale<DD><CODE>key</CODE> - The message key to look up<DD><CODE>arg0</CODE> - The replacement for placeholder {0} in the message<DD><CODE>arg1</CODE> - The replacement for placeholder {1} in the message</DL>
</DD>
</DL>
<HR>

<A NAME="getMessage(java.util.Locale, java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object)"><!-- --></A><H3>
getMessage</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getMessage</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/util/Locale.html" title="class or interface in java.util">Locale</A>&nbsp;locale,
                         <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;key,
                         <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;arg0,
                         <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;arg1,
                         <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;arg2)</PRE>
<DL>
<DD>Returns a text message after parametric replacement of the specified parameter placeholders.  A null string result will never be returned by this method.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>locale</CODE> - The requested message Locale, or <code>null</code>  for the system default Locale<DD><CODE>key</CODE> - The message key to look up<DD><CODE>arg0</CODE> - The replacement for placeholder {0} in the message<DD><CODE>arg1</CODE> - The replacement for placeholder {1} in the message<DD><CODE>arg2</CODE> - The replacement for placeholder {2} in the message</DL>
</DD>
</DL>
<HR>

<A NAME="getMessage(java.util.Locale, java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object)"><!-- --></A><H3>
getMessage</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getMessage</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/util/Locale.html" title="class or interface in java.util">Locale</A>&nbsp;locale,
                         <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;key,
                         <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;arg0,
                         <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;arg1,
                         <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;arg2,
                         <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;arg3)</PRE>
<DL>
<DD>Returns a text message after parametric replacement of the specified parameter placeholders.  A null string result will never be returned by this method.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>locale</CODE> - The requested message Locale, or <code>null</code>  for the system default Locale<DD><CODE>key</CODE> - The message key to look up<DD><CODE>arg0</CODE> - The replacement for placeholder {0} in the message<DD><CODE>arg1</CODE> - The replacement for placeholder {1} in the message<DD><CODE>arg2</CODE> - The replacement for placeholder {2} in the message<DD><CODE>arg3</CODE> - The replacement for placeholder {3} in the message</DL>
</DD>
</DL>
<HR>

<A NAME="getMessage(java.util.Locale, java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object)"><!-- --></A><H3>
getMessage</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getMessage</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/util/Locale.html" title="class or interface in java.util">Locale</A>&nbsp;locale,
                         <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;key,
                         <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;arg0,
                         <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;arg1,
                         <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;arg2,
                         <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;arg3,
                         <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;arg4)</PRE>
<DL>
<DD>Returns a text message after parametric replacement of the specified parameter placeholders.  A null string result will never be returned by this method.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>locale</CODE> - The requested message Locale, or <code>null</code>  for the system default Locale<DD><CODE>key</CODE> - The message key to look up<DD><CODE>arg0</CODE> - The replacement for placeholder {0} in the message<DD><CODE>arg1</CODE> - The replacement for placeholder {1} in the message<DD><CODE>arg2</CODE> - The replacement for placeholder {2} in the message<DD><CODE>arg3</CODE> - The replacement for placeholder {3} in the message<DD><CODE>arg4</CODE> - The replacement for placeholder {4} in the message</DL>
</DD>
</DL>
<HR>

<A NAME="isPresent(java.lang.String)"><!-- --></A><H3>
isPresent</H3>
<PRE>
public boolean <B>isPresent</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;key)</PRE>
<DL>
<DD>Return <code>true</code> if there is a defined message for the specified key in the system default locale.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - The me

⌨️ 快捷键说明

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