📄 messageresources.html
字号:
<P>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TD COLSPAN=2>Subclasses of <A HREF="../../../../../org/apache/struts/util/MessageResources.html">MessageResources</A> in <A HREF="../../../../../org/apache/struts/util/package-summary.html">org.apache.struts.util</A></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/struts/util/PropertyMessageResources.html">PropertyMessageResources</A></B></CODE>
<BR>
Concrete subclass of <code>MessageResources</code> that reads message keys and corresponding strings from named property resources in the same manner that <code>java.util.PropertyResourceBundle</code> does.</TD>
</TR>
</TABLE>
<P>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TD COLSPAN=2>Fields in <A HREF="../../../../../org/apache/struts/util/package-summary.html">org.apache.struts.util</A> declared as <A HREF="../../../../../org/apache/struts/util/MessageResources.html">MessageResources</A></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected static <A HREF="../../../../../org/apache/struts/util/MessageResources.html">MessageResources</A></CODE></FONT></TD>
<TD><CODE><B>ResponseUtils.</B><B><A HREF="../../../../../org/apache/struts/util/ResponseUtils.html#messages">messages</A></B></CODE>
<BR>
The message resources for this package.</TD>
</TR>
</TABLE>
<P>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TD COLSPAN=2>Methods in <A HREF="../../../../../org/apache/struts/util/package-summary.html">org.apache.struts.util</A> that return <A HREF="../../../../../org/apache/struts/util/MessageResources.html">MessageResources</A></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../../../org/apache/struts/util/MessageResources.html">MessageResources</A></CODE></FONT></TD>
<TD><CODE><B>MessageResources.</B><B><A HREF="../../../../../org/apache/struts/util/MessageResources.html#getMessageResources(java.lang.String)">getMessageResources</A></B>(java.lang.String config)</CODE>
<BR>
Create and return an instance of <code>MessageResources</code> for the created by the default <code>MessageResourcesFactory</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract <A HREF="../../../../../org/apache/struts/util/MessageResources.html">MessageResources</A></CODE></FONT></TD>
<TD><CODE><B>MessageResourcesFactory.</B><B><A HREF="../../../../../org/apache/struts/util/MessageResourcesFactory.html#createResources(java.lang.String)">createResources</A></B>(java.lang.String config)</CODE>
<BR>
Create and return a newly instansiated <code>MessageResources</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../../org/apache/struts/util/MessageResources.html">MessageResources</A></CODE></FONT></TD>
<TD><CODE><B>PropertyMessageResourcesFactory.</B><B><A HREF="../../../../../org/apache/struts/util/PropertyMessageResourcesFactory.html#createResources(java.lang.String)">createResources</A></B>(java.lang.String config)</CODE>
<BR>
Create and return a newly instansiated <code>MessageResources</code>.</TD>
</TR>
</TABLE>
<P>
<A NAME="org.apache.struts.validator"><!-- --></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="../../../../../org/apache/struts/util/MessageResources.html">MessageResources</A> in <A HREF="../../../../../org/apache/struts/validator/package-summary.html">org.apache.struts.validator</A></FONT></TD>
</TR>
</TABLE>
<P>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TD COLSPAN=2>Methods in <A HREF="../../../../../org/apache/struts/validator/package-summary.html">org.apache.struts.validator</A> that return <A HREF="../../../../../org/apache/struts/util/MessageResources.html">MessageResources</A></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../../../org/apache/struts/util/MessageResources.html">MessageResources</A></CODE></FONT></TD>
<TD><CODE><B>Resources.</B><B><A HREF="../../../../../org/apache/struts/validator/Resources.html#getMessageResources(javax.servlet.http.HttpServletRequest)">getMessageResources</A></B>(javax.servlet.http.HttpServletRequest request)</CODE>
<BR>
Retrieve <code>MessageResources</code> for the module.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../../../org/apache/struts/util/MessageResources.html">MessageResources</A></CODE></FONT></TD>
<TD><CODE><B>Resources.</B><B><A HREF="../../../../../org/apache/struts/validator/Resources.html#getMessageResources(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, java.lang.String)">getMessageResources</A></B>(javax.servlet.ServletContext application, javax.servlet.http.HttpServletRequest request, java.lang.String bundle)</CODE>
<BR>
Retrieve <code>MessageResources</code> for the module and bundle.</TD>
</TR>
</TABLE>
<P>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TD COLSPAN=2>Methods in <A HREF="../../../../../org/apache/struts/validator/package-summary.html">org.apache.struts.validator</A> with parameters of type <A HREF="../../../../../org/apache/struts/util/MessageResources.html">MessageResources</A></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B>Resources.</B><B><A HREF="../../../../../org/apache/struts/validator/Resources.html#getMessage(org.apache.struts.util.MessageResources, java.util.Locale, java.lang.String)">getMessage</A></B>(<A HREF="../../../../../org/apache/struts/util/MessageResources.html">MessageResources</A> messages, java.util.Locale locale, java.lang.String key)</CODE>
<BR>
Gets the <code>Locale</code> sensitive value based on the key passed in.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B>Resources.</B><B><A HREF="../../../../../org/apache/struts/validator/Resources.html#getMessage(org.apache.struts.util.MessageResources, java.util.Locale, org.apache.commons.validator.ValidatorAction, org.apache.commons.validator.Field)">getMessage</A></B>(<A HREF="../../../../../org/apache/struts/util/MessageResources.html">MessageResources</A> messages, java.util.Locale locale, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field)</CODE>
<BR>
Gets the locale sensitive message based on the <code>ValidatorAction</code> message and the <code>Field</code>'s arg objects.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B>Resources.</B><B><A HREF="../../../../../org/apache/struts/validator/Resources.html#getMessage(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, org.apache.struts.util.MessageResources, java.util.Locale, org.apache.commons.validator.ValidatorAction, org.apache.commons.validator.Field)">getMessage</A></B>(javax.servlet.ServletContext application, javax.servlet.http.HttpServletRequest request, <A HREF="../../../../../org/apache/struts/util/MessageResources.html">MessageResources</A> defaultMessages, java.util.Locale locale, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field)</CODE>
<BR>
Gets the <code>Locale</code> sensitive value based on the key passed in.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String[]</CODE></FONT></TD>
<TD><CODE><B>Resources.</B><B><A HREF="../../../../../org/apache/struts/validator/Resources.html#getArgs(java.lang.String, org.apache.struts.util.MessageResources, java.util.Locale, org.apache.commons.validator.Field)">getArgs</A></B>(java.lang.String actionName, <A HREF="../../../../../org/apache/struts/util/MessageResources.html">MessageResources</A> messages, java.util.Locale locale, org.apache.commons.validator.Field field)</CODE>
<BR>
Gets the message arguments based on the current <code>ValidatorAction</code> and <code>Field</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static java.lang.String[]</CODE></FONT></TD>
<TD><CODE><B>Resources.</B><B><A HREF="../../../../../org/apache/struts/validator/Resources.html#getArgValues(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, org.apache.struts.util.MessageResources, java.util.Locale, org.apache.commons.validator.Arg[])">getArgValues</A></B>(javax.servlet.ServletContext application, javax.servlet.http.HttpServletRequest request, <A HREF="../../../../../org/apache/struts/util/MessageResources.html">MessageResources</A> defaultMessages, java.util.Locale locale, org.apache.commons.validator.Arg[] args)</CODE>
<BR>
Gets the message arguments based on the current <code>ValidatorAction</code> and <code>Field</code>.</TD>
</TR>
</TABLE>
<P>
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../org/apache/struts/util/MessageResources.html"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
PREV
NEXT</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="MessageResources.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
Copyright
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -